Java EE 5 SDK

com.sun.appserv.management.monitor
Interface JMXMonitorMgr

All Superinterfaces:
AMX, AMXMBeanLogging, NotificationBroadcaster, NotificationEmitter, Singleton, Utility

public interface JMXMonitorMgr
extends AMX, Singleton, Utility

Supports the standard monitoring facilities of javax.management.monitor by making available routines to create the Monitors available in javax.management.monitor, and to determine query which such Monitors are currently loaded.

Note that the naming is somewhat confusing; the use of the term "Monitor" here derives from javax.management.monitor; com.sun.appserv.monitor refers to MBeans that provide statistics on appserver runtime entities.


Field Summary
static String J2EE_TYPE
          The j2eeType as returned by AMX.getJ2EEType().
 
Fields inherited from interface com.sun.appserv.management.base.AMX
FULL_TYPE_DELIM, GROUP_CONFIGURATION, GROUP_JSR77, GROUP_MONITORING, GROUP_OTHER, GROUP_UTILITY, J2EE_TYPE_KEY, JMX_DOMAIN, NAME_KEY, NO_NAME, NOTIFICATION_PREFIX, NULL_NAME
 
Method Summary
 AMXCounterMonitor createCounterMonitor(String name)
          Create a new Monitor.
 AMXGaugeMonitor createGaugeMonitor(String name)
          Create a new Monitor.
 AMXStringMonitor createStringMonitor(String name)
          Create a new Monitor.
 Map<String,AMXCounterMonitor> getCounterMonitorMap()
          Return a Map of all AMXCounterMonitor.
 Map<String,AMXGaugeMonitor> getGaugeMonitorMap()
          Return a Map of all AMXGaugeMonitor.
 Map<String,AMXStringMonitor> getStringMonitorMap()
          Return a Map of all AMXStringMonitor MBean.
 void remove(String name)
          Remove a Monitor by name.
 
Methods inherited from interface com.sun.appserv.management.base.AMX
getContainer, getDomainRoot, getFullType, getGroup, getJ2EEType, getName, isDAS
 
Methods inherited from interface javax.management.NotificationEmitter
removeNotificationListener
 
Methods inherited from interface javax.management.NotificationBroadcaster
addNotificationListener, getNotificationInfo, removeNotificationListener
 
Methods inherited from interface com.sun.appserv.management.base.AMXMBeanLogging
getMBeanLoggerName, getMBeanLogLevel, setMBeanLogLevel
 

Field Detail

J2EE_TYPE

static final String J2EE_TYPE
The j2eeType as returned by AMX.getJ2EEType().

See Also:
Constant Field Values
Method Detail

createStringMonitor

AMXStringMonitor createStringMonitor(String name)
Create a new Monitor.

Parameters:
name -

createCounterMonitor

AMXCounterMonitor createCounterMonitor(String name)
Create a new Monitor.

Parameters:
name -

createGaugeMonitor

AMXGaugeMonitor createGaugeMonitor(String name)
Create a new Monitor.

Parameters:
name -

getStringMonitorMap

Map<String,AMXStringMonitor> getStringMonitorMap()
Return a Map of all AMXStringMonitor MBean. The Map is keyed by name.


getCounterMonitorMap

Map<String,AMXCounterMonitor> getCounterMonitorMap()
Return a Map of all AMXCounterMonitor. The Map is keyed by name.


getGaugeMonitorMap

Map<String,AMXGaugeMonitor> getGaugeMonitorMap()
Return a Map of all AMXGaugeMonitor. The Map is keyed by name.


remove

void remove(String name)
Remove a Monitor by name.

Parameters:
name -

Java EE 5 SDK

Submit a bug or feature

Copyright 2006 Sun Microsystems, Inc. All rights reserved.