Java EE 5 SDK

com.sun.appserv.management.config
Interface ModuleMonitoringLevelsConfig

All Superinterfaces:
AMX, AMXConfig, AMXMBeanLogging, ConfigElement, NotificationBroadcaster, NotificationEmitter, PropertiesAccess

public interface ModuleMonitoringLevelsConfig
extends ConfigElement, PropertiesAccess

Configuration for the <module-monitoring-levels> element. Each monitoring level can be one of the values defined in ModuleMonitoringLevelValues.


Field Summary
static String J2EE_TYPE
          The j2eeType as returned by AMX.getJ2EEType().
 
Fields inherited from interface com.sun.appserv.management.config.AMXConfig
CONFIG_CREATED_NOTIFICATION_TYPE, CONFIG_OBJECT_NAME_KEY, CONFIG_REMOVED_NOTIFICATION_TYPE
 
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
 
Fields inherited from interface com.sun.appserv.management.config.PropertiesAccess
PROPERTY_PREFIX
 
Method Summary
 void changeAll(String value)
          Change all monitoring levels to the specified value.
 Map<String,String> getAllLevels()
          Get a Map keyed by Attribute name of all monitoring levels.
 String getConnectorConnectionPool()
           
 String getConnectorService()
           
 String getEJBContainer()
           
 String getHTTPService()
           
 String getJDBCConnectionPool()
           
 String getJMSService()
           
 String getJVM()
           
 String getORB()
           
 String getThreadPool()
           
 String getTransactionService()
           
 String getWebContainer()
           
 void setConnectorConnectionPool(String value)
           
 void setConnectorService(String value)
           
 void setEJBContainer(String value)
           
 void setHTTPService(String value)
           
 void setJDBCConnectionPool(String value)
           
 void setJMSService(String value)
           
 void setJVM(String value)
           
 void setORB(String value)
           
 void setThreadPool(String value)
           
 void setTransactionService(String value)
           
 void setWebContainer(String value)
           
 
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
 
Methods inherited from interface com.sun.appserv.management.config.PropertiesAccess
createProperty, existsProperty, getProperties, getPropertyNames, getPropertyValue, removeProperty, setPropertyValue
 

Field Detail

J2EE_TYPE

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

See Also:
Constant Field Values
Method Detail

getAllLevels

Map<String,String> getAllLevels()
Get a Map keyed by Attribute name of all monitoring levels. Attribute names correspond to the various get methods eg "JVM" for getJVM(), "ConnectorService" for getConnectorService(), etc.

The possible levels are as defined in ModuleMonitoringLevelValues.


changeAll

void changeAll(String value)
Change all monitoring levels to the specified value.

Parameters:
value - one of the values in ModuleMonitoringLevelValues

getJVM

String getJVM()

setJVM

void setJVM(String value)
Parameters:
value - one of the values in ModuleMonitoringLevelValues

getConnectorService

String getConnectorService()

setConnectorService

void setConnectorService(String value)
Parameters:
value - one of the values in ModuleMonitoringLevelValues

getJMSService

String getJMSService()

setJMSService

void setJMSService(String value)
Parameters:
value - one of the values in ModuleMonitoringLevelValues

getConnectorConnectionPool

String getConnectorConnectionPool()

setConnectorConnectionPool

void setConnectorConnectionPool(String value)
Parameters:
value - one of the values in ModuleMonitoringLevelValues

getEJBContainer

String getEJBContainer()

setEJBContainer

void setEJBContainer(String value)
Parameters:
value - one of the values in ModuleMonitoringLevelValues

getHTTPService

String getHTTPService()

setHTTPService

void setHTTPService(String value)
Parameters:
value - one of the values in ModuleMonitoringLevelValues

getJDBCConnectionPool

String getJDBCConnectionPool()

setJDBCConnectionPool

void setJDBCConnectionPool(String value)
Parameters:
value - one of the values in ModuleMonitoringLevelValues

getORB

String getORB()

setORB

void setORB(String value)
Parameters:
value - one of the values in ModuleMonitoringLevelValues

getThreadPool

String getThreadPool()

setThreadPool

void setThreadPool(String value)
Parameters:
value - one of the values in ModuleMonitoringLevelValues

getTransactionService

String getTransactionService()

setTransactionService

void setTransactionService(String value)
Parameters:
value - one of the values in ModuleMonitoringLevelValues

getWebContainer

String getWebContainer()

setWebContainer

void setWebContainer(String value)
Parameters:
value - one of the values in ModuleMonitoringLevelValues

Java EE 5 SDK

Submit a bug or feature

Copyright 2006 Sun Microsystems, Inc. All rights reserved.