FileDocCategorySizeDatePackage
MonitoringRegistry.javaAPI DocGlassfish v2 API47333Fri May 04 22:25:46 BST 2007com.sun.enterprise.admin.monitor.registry

MonitoringRegistry

public interface MonitoringRegistry
Provides component specific methods to enable components to register their Stats implementations for monitoring. Implementation of this interface enables a JSR77 Managed Resource's monitoring statistics to be presented through JMX's API through a DynamicMBean created on the fly and registered with the MBeanServer. Each registration method also provides the facility of passing in an implementation of MonitoringLevelListener interface. The purpose of that interface is to enable components to be notified of a change in monitoring level from/to OFF, LOW or HIGH. A notification pursuant to a change in monitoring level should result in a call to unregister previously registered Stats implementations. If the change is set at a level LOW or HIGH, a call to register alternative Stats implementations that correspond to the new monitoring level is to be made by the component. Consequently, a new MBean is registered with the MBeanServer so that clients may now request statistics corresponding to the monitoring level.
Registered Stats implementations can be unregistered through the component specific unregister() methods.
see
com.sun.enterprise.admin.monitor.registry.MonitoringLevelListener.java
see
com.sun.enterprise.admin.monitor.registry.MonitoringLevel.java
author
Shreedhar Ganapathy
version
$Revision: 1.5 $

Fields Summary
Constructors Summary
Methods Summary
public WebModuleStatsgetWebModuleStats(java.lang.String j2eeAppName, java.lang.String webModuleName, java.lang.String ctxRoot, java.lang.String vsId)
Gets the WebModuleStats associated with the web module named webModuleName that is part of the application named j2eeAppName and has been deployed on the virtual server vsId.

param
j2eeAppName String representing the J2EE Application to which the web module belongs, or null if the web module is stand-alone
param
webModuleName The name of the web module whose stats are to be returned
param
ctxRoot The context root at which the web module has been deployed
param
vsId The id of the virtual-server on which the web module has been deployed
return
The desired WebModuleStats

public voidregisterConnectionFactoryStats(com.sun.enterprise.admin.monitor.stats.ConnectionFactoryStats stats, java.lang.String factoryName, MonitoringLevelListener listener)
Registers the ConnectionFactoryStats for the jms-service

param
stats an instance of com.sun.enterprise.admin.monitor.stats.ConnectionFactoryStats
param
factoryName the name of the connection factory
param
listener the listener for monitoring level changes
throws
MonitoringRegistrationException

public voidregisterConnectorConnectionPoolStats(com.sun.enterprise.admin.monitor.stats.ConnectorConnectionPoolStats connectorConnectionPoolStats, java.lang.String connectorConnectionPoolName, MonitoringLevelListener listener)
Registers the Stats implementation for ConnectorConnectionPoolStats

param
connectorConnectionPoolStats implementation of com.sun.enterprise.admin.monitor.stats.ConnectorConnectionPoolStats
param
connectorConnectionPoolName
param
listener This an optional field and when not required, a null value should be passed. If a MonitoringLevelListener is defined, the listener's setLevel() method will be called in response to a change in monitoring level.
throws
MonitoringRegistrationException

public voidregisterConnectorConnectionPoolStats(com.sun.enterprise.admin.monitor.stats.ConnectorConnectionPoolStats stats, java.lang.String poolName, java.lang.String j2eeAppName, java.lang.String moduleName, MonitoringLevelListener listener)
Registers the Stats implementation for ConnectorConnectionPoolStats

param
connectorConnectionPoolStats implementation of com.sun.enterprise.admin.monitor.stats.ConnectorConnectionPoolStats
param
poolName
param
j2eeAppName the name of the j2eeApp
param
moduleName the name the connector module
param
listener This an optional field and when not required, a null value should be passed. If a MonitoringLevelListener is defined, the listener's setLevel() method will be called in response to a change in monitoring level.
throws
MonitoringRegistrationException

public voidregisterConnectorWorkMgmtStats(com.sun.enterprise.admin.monitor.stats.ConnectorWorkMgmtStats stats, java.lang.String j2eeAppName, java.lang.String moduleName, MonitoringLevelListener listener)
Registers the work management stats for the connector

param
stats an instance of com.sun.enterprise.admin.monitor.stats.ConnectorWorkMgmtStats
param
j2eeAppName the name of the j2eeApp,in which the connector is embedded if null, indicates that a standalone connector is being monitored
param
moduleName the name of the connector module
param
listener the listener for monitoring level changes
throws
MonitoringRegistrationException

public voidregisterConnectorWorkMgmtStats(com.sun.enterprise.admin.monitor.stats.ConnectorWorkMgmtStats stats, java.lang.String j2eeAppName, java.lang.String moduleName, boolean isJms, MonitoringLevelListener listener)
Registers the work management stats for the connector

param
stats an instance of com.sun.enterprise.admin.monitor.stats.ConnectorWorkMgmtStats
param
j2eeAppName the name of the j2eeApp,in which the connector is embedded if null, indicates that a standalone connector is being monitored
param
moduleName the name of the connector module
param
isJms if true, indicates that the workmanagement stats are being registered for jms-service
param
listener the listener for monitoring level changes
throws
MonitoringRegistrationException

public voidregisterEJBCacheStats(EJBCacheStats ejbCacheStats, MonitoredObjectType ejbType, java.lang.String ejbName, java.lang.String moduleName, java.lang.String applicationName, MonitoringLevelListener listener)
Registers the Stats implementation for EJBCacheStats

param
ejbCacheStats implemetation of com.sun.enterprise.admin.monitor.stats.EJBCacheStats
param
ejbName
param
moduleName
param
applicationName passing a null here would indicate that this is a registration for an EJB deployed under a standalone module.
param
listener This an optional field and when not required, a null value should be passed. If a MonitoringLevelListener is defined, the listener's setLevel() method will be called in response to a change in monitoring level.
throws
MonitoringRegistrationException

public voidregisterEJBMethodStats(EJBMethodStats ejbMethodStats, java.lang.String ejbMethodName, MonitoredObjectType ejbType, java.lang.String ejbName, java.lang.String moduleName, java.lang.String applicationName, MonitoringLevelListener listener)
Registers the Stats implementation for EJBMethodStats

param
ejbMethodStats implementation of com.sun.enterprise.admin.monitor.stats.EJBMethodStats
param
ejbMethodName
param
ejbName
param
moduleName
param
applicationName passing a null here would indicate that this is a registration for an EJB deployed under a standalone module.
param
listener This an optional field and when not required, a null value should be passed. If a MonitoringLevelListener is defined, the listener's setLevel() method will be called in response to a change in monitoring level.
throws
MonitoringRegistrationException

public voidregisterEJBPoolStats(EJBPoolStats ejbPoolStats, MonitoredObjectType ejbType, java.lang.String ejbName, java.lang.String moduleName, java.lang.String applicationName, MonitoringLevelListener listener)
Registers the Stats implementation for EJBPoolStats

param
ejbPoolStats implementation of com.sun.enterprise.admin.monitor.stats.EJBPoolStats
param
ejbName
param
moduleName
param
applicationName passing a null here would indicate that this is a registration for an EJB deployed under a standalone module.
param
listener This an optional field and when not required, a null value should be passed. If a MonitoringLevelListener is defined, the listener's setLevel() method will be called in response to a change in monitoring level.
throws
MonitoringRegistrationException

public voidregisterEntityBeanStats(EntityBeanStats entityBeanStats, java.lang.String entityBeanName, java.lang.String moduleName, java.lang.String applicationName, MonitoringLevelListener listener)
Registers the Stats implementation for EntityBeanStats

param
entityBeanStats implementation of javax.management.j2ee.statistics.EntityBeanStats
param
entityBeanName
param
moduleName
param
applicationName passing a null here would indicate that this is a registration for an EntityBean deployed under a standalone module.
param
listener This an optional field and when not required, a null value should be passed. If a MonitoringLevelListener is defined, the listener's setLevel() method will be called in response to a change in monitoring level.
throws
MonitoringRegistrationException

public voidregisterHttpListenerStats(HTTPListenerStats stats, java.lang.String listenerName, java.lang.String vsId, MonitoringLevelListener listener)
Registeres the Stats for Http Listener for the web-server/web-container layer. Can't be called for the same listener more than once. This method should generally be called when a particular listener is being started.

param
listenerName String representing the name of the listener (may not be null)
param
vsId String representing the id of pertinent virtual server (may not be null)
throws
MonitoringRegistrationException in case there is a registration failure

public voidregisterJDBCConnectionPoolStats(com.sun.enterprise.admin.monitor.stats.JDBCConnectionPoolStats jdbcConnectionPoolStats, java.lang.String jdbcConnectionPoolName, MonitoringLevelListener listener)
Registers the Stats implementation for JDBCConnectionPoolStats

param
jdbcConnectionPoolStats implementation of com.sun.enterprise.admin.monitor.stats.JDBCConnectionPoolStats
param
jdbcConnectionPoolName
param
listener This an optional field and when not required, a null value should be passed. If a MonitoringLevelListener is defined, the listener's setLevel() method will be called in response to a change in monitoring level.
throws
MonitoringRegistrationException

public voidregisterJTAStats(com.sun.enterprise.admin.monitor.stats.JTAStats jtaStats, MonitoringLevelListener listener)
Registers the Stats implementation for the resource JTAStats

param
jtaStats implementation of com.sun.enterprise.admin.monitor.stats.JTAStats
param
listener This an optional field and when not required, a null value should be passed. If a MonitoringLevelListener is defined, the listener's setLevel() method will be called in response to a change in monitoring level.
throws
MonitoringRegistrationException

public voidregisterJVMStats(JVMStats stats, MonitoringLevelListener listener)

public voidregisterMessageDrivenBeanStats(MessageDrivenBeanStats messageDrivenBeanStats, java.lang.String messageDrivenBeanName, java.lang.String moduleName, java.lang.String applicationName, MonitoringLevelListener listener)
Registers the Stats implementation for MessageDrivenBeanStats

param
messageDrivenBeanStats implementation of javax.management.j2ee.statistics.MessageDrivenBeanStats
param
messageDrivenBeanName
param
moduleName
param
applicationName passing a null here would indicate that this is a registration for a MessageDrivenBean deployed under a standalone module.
param
listener This an optional field and when not required, a null value should be passed. If a MonitoringLevelListener is defined, the listener's setLevel() method will be called in response to a change in monitoring level.
throws
MonitoringRegistrationException

public voidregisterMonitoringLevelListener(MonitoringLevelListener listener, com.sun.enterprise.admin.monitor.registry.MonitoredObjectType objType)
Registers the given listener for the given type of monitorable entity. It is required that all the implementing classes issue the callback synchonously to the provided {@link MonitoringLevelListener} before returning to the caller. The idea is that core components should know if the registration of specific Stats is required before doing the actual registration. It is upto the components to decide what do when the callback is issued. The given listener will be added to the internal list of listeners and will be notified when the level changes. Note that this method breaks the relationship between a Stats object and a MonitoringLevelListener object. Thus all the listeners that register through this method will receive null as the Stats parameter value in MonitoringLevelListener#changeLevel method.

param
{@link MonitoringLevelListener} that is interested in a specific type (may not be null)
param
{@link MonitoredObjectType} that indicates a specific monitored object
throws
RuntimeException if the registration fails

public voidregisterOrbConnectionManagerStats(OrbConnectionManagerStats orbConnectionManagerStats, java.lang.String connectionMgrName, MonitoringLevelListener listener)
Registers the Stats implementation for OrbConnectionManagerStats

param
orbConnectionManagerStats implementation of com.sun.enterprise.admin.monitor.stats.OrbConnectionManagerStats
param
connectionMgrName id of the connection-manager
param
listener This an optional field and when not required, a null value should be passed. If a MonitoringLevelListener is defined, the listener's setLevel() method will be called in response to a change in monitoring level.
throws
MonitoringRegistrationException

public voidregisterPWCConnectionQueueStats(com.sun.enterprise.admin.monitor.stats.PWCConnectionQueueStats stats, MonitoringLevelListener listener)
Registers the ConnectionQueueStats for PWC.

param
stats an instance of PWCConnectionQueueStats
param
listener the listener for monitoring level changes
throws
MonitoringRegistrationException

public voidregisterPWCDnsStats(com.sun.enterprise.admin.monitor.stats.PWCDnsStats stats, MonitoringLevelListener listener)
Registers the DNSStats for PWC.

param
stats an instance of PWCDnsStats
param
listener the listener for monitoring level changes
throws
MonitoringRegistrationException

public voidregisterPWCFileCacheStats(com.sun.enterprise.admin.monitor.stats.PWCFileCacheStats stats, MonitoringLevelListener listener)
Registers the FileCacheStats for PWC.

param
stats an instance of PWCFileCacheStats
param
listener the listener for monitoring level changes
throws
MonitoringRegistrationException

public voidregisterPWCHttpServiceStats(com.sun.enterprise.admin.monitor.stats.PWCHttpServiceStats stats, MonitoringLevelListener listener)
Registers the HttpServiceStats for PWC.

param
stats an instance of PWCHttpServiceStats
param
listener the listener for monitoring level changes
throws
MonitoringRegistrationException

public voidregisterPWCKeepAliveStats(com.sun.enterprise.admin.monitor.stats.PWCKeepAliveStats stats, MonitoringLevelListener listener)
Registers the KeepAliveStats for PWC.

param
stats an instance of PWCKeepAliveStats
param
listener the listener for monitoring level changes
throws
MonitoringRegistrationException

public voidregisterPWCRequestStats(com.sun.enterprise.admin.monitor.stats.PWCRequestStats stats, java.lang.String vsId, MonitoringLevelListener listener)
Registers the RequestStats for PWC.

param
stats an instance of PWCRequestStats
param
vsId the Id of the virtual-server for which the Stats are being registered
param
listener the listener for monitoring level changes
throws
MonitoringRegistrationException

public voidregisterPWCThreadPoolStats(com.sun.enterprise.admin.monitor.stats.PWCThreadPoolStats stats, MonitoringLevelListener listener)
Registers the ThreadPoolStats for PWC.

param
stats an instance of PWCThreadPoolStats
param
listener the listener for monitoring level changes
throws
MonitoringRegistrationException

public voidregisterPWCVirtualServerStats(com.sun.enterprise.admin.monitor.stats.PWCVirtualServerStats stats, java.lang.String vsId, MonitoringLevelListener listener)
Registers the VirtualServerStats for PWC.

param
stats an instance of PWCVirtualServerStats
param
vsId the Id of the virtual-server for which the Stats are being registered
param
listener the listener for monitoring level changes
throws
MonitoringRegistrationException

public voidregisterServletStats(com.sun.enterprise.admin.monitor.stats.ServletStats stats, java.lang.String j2eeAppName, java.lang.String webModuleName, java.lang.String ctxRoot, java.lang.String vsId, java.lang.String servletName, MonitoringLevelListener listener)
registers a servlet/JSP, with the monitoring infrastructure The servlet/Jsp could be part of a J2EE Application or a stand-alone web module.

param
stats An instance of the ServletStats
param
j2eeAppName A string representing the J2EE Application to which the webmodule belongs. If the j2eeAppName is null, then the webmodule is a stand-alone webmodule
param
webModuleName The name of the web module to which the servlet belongs
param
ctxRoot The context root at which the web module has been deployed
param
vsId The virtual-server, with which the webmodule is associated
param
servletName The name of the servlet/jsp being monitored
param
listener
throws
MonitoringRegistrationException in case of a failure

public voidregisterStatefulSessionBeanStats(StatefulSessionBeanStats statefulSessionBeanStats, java.lang.String statefulSessionBeanName, java.lang.String moduleName, java.lang.String applicationName, MonitoringLevelListener listener)
Registers the Stats implementation for StatefulSessionBeanStats

param
statefulSessionBeanStats implementation of from javax.management.j2ee.statistics.StatefulSessionBeanStats
param
statefulSessionBeanName
param
moduleName
param
applicationName passing a null here would indicate that this is a registration for a StatefulSessionBean deployed under a standalone module.
param
listener This an optional field and when not required, a null value should be passed. If a MonitoringLevelListener is defined, the listener's setLevel() method will be called in response to a change in monitoring level.
throws
MonitoringRegistrationException

public voidregisterStatefulSessionStoreStats(StatefulSessionStoreStats stats, MonitoredObjectType ejbType, java.lang.String ejbName, java.lang.String moduleName, java.lang.String j2eeAppName, MonitoringLevelListener listener)
Registers the Sessionstore stats for an ejb

param
stats an instance of com.sun.enterprise.admin.monitor.stats.StatefulSessionStoreStats
param
ejbName the name of the ejb for which the stats are being registered
param
moduleName the name of the jar to which the ejb belongs
param
j2eeAppName the name of the j2eeApp, that contains the ejb jar if null, indicates that the ejb jar is standalone
param
listener the listener for monitoring level changes
throws
MonitoringRegistrationException

public voidregisterStatelessSessionBeanStats(StatelessSessionBeanStats statelessSessionBeanStats, java.lang.String statelessSessionBeanName, java.lang.String moduleName, java.lang.String applicationName, MonitoringLevelListener listener)
Registers the Stats implementation for StatelessSessionBeanStats

param
statelessSessionBeanStats implementation of javax.management.j2ee.statistics.StatelessSessionBeanStats
param
statelessSessionBeanName
param
moduleName
param
applicationName passing a null here would indicate that this is a registration for a StatelessSessionBean deployed under a standalone module.
param
listener This an optional field and when not required, a null value should be passed. If a MonitoringLevelListener is defined, the listener's setLevel() method will be called in response to a change in monitoring level.
throws
MonitoringRegistrationException

public voidregisterThreadPoolStats(ThreadPoolStats ThreadPoolStats, java.lang.String threadPoolId, MonitoringLevelListener listener)
Registers the Stats implementation for ThreadPoolStats. This is meant to be used for any ThreadPool in the server runtime.

param
ThreadPoolStats implementation of com.sun.enterprise.admin.monitor.stats.ThreadPoolStats
param
poolId String that represents the thread pool id -- needs to be unique
param
listener This an optional field and when not required, a null value should be passed. If a MonitoringLevelListener is defined, the listener's setLevel() method will be called in response to a change in monitoring level.
throws
MonitoringRegistrationException

public voidregisterTimerStats(TimerServiceStats stats, MonitoredObjectType ejbType, java.lang.String ejbName, java.lang.String moduleName, java.lang.String j2eeAppName, MonitoringLevelListener listener)
Registers the timer stats for an ejb

param
stats an instance of com.sun.enterprise.admin.monitor.stats.TimerServiceStats
param
ejbName the name of the ejb for which the stats are being registered
param
moduleName the name of the jar containing the ejb
param
j2eeAppName the name of the j2eeApp, that contains the ejb jar if null, indicated that the ejb jar is standalone
param
listener the listener for monitoring level changes
throws
MonitoringRegistrationException

public voidregisterWSAggregateStatsForEjb(Stats stats, java.lang.String endpointName, java.lang.String moduleName, java.lang.String j2eeAppName, MonitoringLevelListener listener)
Registers the Aggregate stats for an web service endpoint

param
stats an instance of com.sun.appserv.management.monitor.statistics.WebServiceAggregateStats
param
endpointName the name of the endpoint for which the stats are being registered
param
moduleName the name of the jar to which the ejb belongs
param
j2eeAppName the name of the j2eeApp, that contains the ejb jar if null, indicates that the ejb jar is standalone
param
listener the listener for monitoring level changes
throws
MonitoringRegistrationException

public voidregisterWSAggregateStatsForWeb(Stats stats, java.lang.String endpointName, java.lang.String moduleName, java.lang.String ctxRoot, java.lang.String j2eeAppName, java.lang.String vs, MonitoringLevelListener listener)
Registers the Aggregate stats for an web service endpoint

param
stats an instance of com.sun.appserv.management.monitor.statistics.WebServiceAggregateStats
param
endpointName the name of the endpoint for which the stats are being registered
param
moduleName the name of the jar to which the ejb belongs
param
ctxRoot The context root at which the web module has been deployed
param
j2eeAppName the name of the j2eeApp, that contains the ejb jar if null, indicates that the ejb jar is standalone
param
listener the listener for monitoring level changes
throws
MonitoringRegistrationException

public voidregisterWebModuleStats(WebModuleStats stats, java.lang.String j2eeAppName, java.lang.String webModuleName, java.lang.String ctxRoot, java.lang.String vsId, MonitoringLevelListener listener)
Registers the given WebModuleStats for the web module with the given webModuleName deployed on the virtual server with the given vsId.

param
stats The stats to register
param
j2eeAppName String representing the J2EE Application to which the web module belongs, or null if the web module is stand-alone
param
webModuleName The name of the web module for which to register the stats
param
ctxRoot The context root at which the web module has been deployed
param
vsId The id of the virtual-server on which the web module has been deployed
param
listener The listener for monitoring level changes
throws
MonitoringRegistrationException

public voidunregisterConnectionFactoryStats(java.lang.String factoryName)
Unregisters the ConnectionFactoryStats for the jms-service

param
factoryName the name of the connection factory
throws
MonitoringRegistrationException

public voidunregisterConnectorConnectionPoolStats(java.lang.String connectorConnectionPoolName)
Unregisters the Stats implementation for ConnectorConnectionPoolStats

param
connectorConnectionPoolName
throws
MonitoringRegistrationException

public voidunregisterConnectorConnectionPoolStats(java.lang.String poolName, java.lang.String j2eeAppName, java.lang.String moduleName)
Unregisters the Stats implementation for ConnectorConnectionPoolStats

param
poolName
param
j2eeAppName
param
moduleName
throws
MonitoringRegistrationException

public voidunregisterConnectorWorkMgmtStats(java.lang.String j2eeAppName, java.lang.String moduleName)
Unregisters the work management stats for the connector

param
j2eeAppName the name of the j2eeApp,in which the connector is embedded if null, indicates that a standalone connector is being monitored
param
moduleName the name of the connector module
throws
MonitoringRegistrationException

public voidunregisterConnectorWorkMgmtStats(java.lang.String j2eeAppName, java.lang.String moduleName, boolean isJms)
Unregisters the work management stats for the connector

param
j2eeAppName the name of the j2eeApp,in which the connector is embedded if null, indicates that a standalone connector is being monitored
param
moduleName the name of the connector module
param
isJms if true, indicates that the workmanagement stats are being unregistered from jms-service
throws
MonitoringRegistrationException

public voidunregisterEJBCacheStats(MonitoredObjectType ejbType, java.lang.String ejbName, java.lang.String moduleName, java.lang.String applicationName)
Unregisters the Stats implementation for EJBCacheStats

param
ejbName
param
moduleName
param
applicationName passing a null here would indicate that this is a registration for an EJB deployed under a standalone module.
throws
MonitoringRegistrationException

public voidunregisterEJBMethodStats(java.lang.String ejbMethodName, MonitoredObjectType ejbType, java.lang.String ejbName, java.lang.String moduleName, java.lang.String applicationName)
Unregisters the Stats implementation for EJBMethodStats

param
ejbMethodName
param
ejbName
param
moduleName
param
applicationName passing a null here would indicate that this is a registration for an EJB deployed under a standalone module.
throws
MonitoringRegistrationException

public voidunregisterEJBPoolStats(MonitoredObjectType ejbType, java.lang.String ejbName, java.lang.String moduleName, java.lang.String applicationName)
Unregisters the Stats implementation for EJBPoolStats

param
ejbName
param
moduleName
param
applicationName passing a null here would indicate that this is a registration for an EJB deployed under a standalone module.
throws
MonitoringRegistrationException

public voidunregisterEntityBeanStats(java.lang.String entityBeanName, java.lang.String moduleName, java.lang.String applicationName)
Unregisters the Stats implementation for EntityBeanStats

param
entityBeanName
param
moduleName
param
applicationName passing a null here would indicate that this is a registration for an EntityBean deployed under a standalone module.
throws
MonitoringRegistrationException

public voidunregisterHttpListenerStats(java.lang.String listenerName, java.lang.String vsId)
Unregisters the stats for Http Listener for given listenerName and virtual-server-id. This method should generally be called when particular listener is deleted/stopped.

param
listenerName String representing the listener's name (may not be null)
param
vsId String represeting the virtual server id (may not be null)
throws
MonitoringRegistrationException in case of a failure

public voidunregisterJDBCConnectionPoolStats(java.lang.String jdbcConnectionPoolName)
Unregisters the Stats implementation for JDBCConnectionPoolStats

param
jdbcConnectionPoolName
throws
MonitoringRegistrationException

public voidunregisterJTAStats()
Unregisters the Stats implementation for the resource JTAStats

throws
MonitoringRegistrationException

public voidunregisterJVMStats()

public voidunregisterMessageDrivenBeanStats(java.lang.String messageDrivenBeanName, java.lang.String moduleName, java.lang.String applicationName)
Unregisters the Stats implementation for MessageDrivenBeanStats

param
messageDrivenBeanName
param
moduleName
param
applicationName passing a null here would indicate that this is a registration for a MessageDrivenBean deployed under a standalone module.
throws
MonitoringRegistrationException

public voidunregisterMonitoringLevelListener(MonitoringLevelListener listener)
Unregisters the given {@link MonitoringLevelListener} so that it is removed from internal list. The registration of same listener has to be done prior to this method call. This will usually happen when the registered listener has to exit from the VM.

param
MonitoringLevelListener that is registered earlier
throws
RuntimeException if the Listener is not registered before

public voidunregisterOrbConnectionManagerStats(java.lang.String orbName)
Unregisters the Stats implementation for OrbConnectionManagerStats

param
orbName
throws
MonitoringRegistrationException

public voidunregisterPWCConnectionQueueStats()
Unregisters the stats for the ConnectionQueue

throws
MonitoringRegistrationException

public voidunregisterPWCDnsStats()
Unregisters the stats for the DNS

throws
MonitoringRegistrationException

public voidunregisterPWCFileCacheStats()
Unregisters the stats for the FileCache

throws
MonitoringRegistrationException

public voidunregisterPWCHttpServiceStats()
Unregisters the stats for the HttpService

throws
MonitoringRegistrationException

public voidunregisterPWCKeepAliveStats()
Unregisters the stats for the KeepAlive system

throws
MonitoringRegistrationException

public voidunregisterPWCRequestStats(java.lang.String vsId)
Unregisters the stats for the PWCrequest

param
vsId the Id of the virutal-server
throws
MonitoringRegistrationException

public voidunregisterPWCThreadPoolStats()
Unregisters the stats for the PWCThreadPool

throws
MonitoringRegistrationException

public voidunregisterPWCVirtualServerStats(java.lang.String vsId)
Unregisters the stats for the VirtualServer

param
vsId the Id of the virtual-server, whose stats need to be deregistered
throws
MonitoringRegistrationException

public voidunregisterServletStats(java.lang.String j2eeAppName, java.lang.String webModuleName, java.lang.String ctxRoot, java.lang.String vsId, java.lang.String servletName)
unregisters a servlet/JSP, from the monitoring infrastructure The servlet/Jsp could be part of a J2EE Application or a stand-alone web module.

param
j2eeAppName A string representing the J2EE Application to which the webmodule belongs. If the j2eeAppName is null, then the webmodule is a stand-alone webmodule
param
webModuleName The name of the web module to which the servlet belongs
param
ctxRoot The context root at which the web module has been deployed
param
vsId The virtual-server, with which the webmodule is associated
param
servletName The name of the servlet/jsp being monitored
throws
MonitoringRegistrationException in case of a failure

public voidunregisterStatefulSessionBeanStats(java.lang.String statefulSessionBeanName, java.lang.String moduleName, java.lang.String applicationName)
Unregisters the Stats implementation for StatefulSessionBeanStats

param
statefulSessionBeanName
param
moduleName
param
applicationName passing a null here would indicate that this is a registration for a StatefulSessionBean deployed under a standalone module.
throws
MonitoringRegistrationException

public voidunregisterStatefulSessionStoreStats(MonitoredObjectType ejbType, java.lang.String ejbName, java.lang.String moduleName, java.lang.String j2eeAppName)
Unregisters the Sessionstore stats for the ejb

param
ejbName the name of the ejb for which the stats are being unregistered
param
moduleName the name of the jar, to which the ejb belongs
param
j2eeAppName the name of the j2eeApp, that contains the ejb jar
throws
MonitoringRegistrationException

public voidunregisterStatelessSessionBeanStats(java.lang.String statelessSessionBeanName, java.lang.String moduleName, java.lang.String applicationName)
Unregisters the Stats implementation for StatelessSessionBeanStats

param
statelessSessionBeanName
param
moduleName
param
applicationName passing a null here would indicate that this is a registration for a StatelessSessionBean deployed under a standalone module.
throws
MonitoringRegistrationException

public voidunregisterThreadPoolStats(java.lang.String poolId)
Unregisters the Stats implementation for ThreadPoolStats.

param
poolId String representing the (unique) name of the pool
throws
MonitoringRegistrationException

public voidunregisterTimerStats(MonitoredObjectType ejbType, java.lang.String ejbName, java.lang.String moduleName, java.lang.String j2eeAppName)
Unregisters the timer stats for an ejb

param
ejbName the name of the ejb for which the stats are being unregistered
param
moduleName the name of the jar, to which the ejb belongs
param
j2eeAppName the name of the j2eeApp, that contains the ejb jar
throws
MonitoringRegistrationException

public voidunregisterWSAggregateStatsForEjb(java.lang.String endpointName, java.lang.String moduleName, java.lang.String j2eeAppName)
Unregisters the web service stats in a module

param
endpointName the name of the endpoint for which the stats are being unregistered
param
moduleName the name of the jar, to which the endpoint belongs
param
j2eeAppName the name of the j2eeApp, that contains the ejb jar
throws
MonitoringRegistrationException

public voidunregisterWSAggregateStatsForWeb(java.lang.String endpointName, java.lang.String moduleName, java.lang.String ctxRoot, java.lang.String j2eeAppName, java.lang.String vs)
Unregisters the web service stats in a module

param
endpointName the name of the endpoint for which the stats are being unregistered
param
moduleName the name of the jar, to which the endpoint belongs
param
ctxRoot The context root at which the web module has been deployed
param
j2eeAppName the name of the j2eeApp, that contains the ejb jar
throws
MonitoringRegistrationException

public voidunregisterWebModuleStats(java.lang.String j2eeAppName, java.lang.String webModuleName, java.lang.String ctxRoot, java.lang.String vsId)
Unregisters any WebModuleStats from the web module with the given webModuleName deployed on the virtual server with the given vsId.

param
j2eeAppName String representing the J2EE Application to which the web module belongs, or null if the web module is stand-alone
param
webModuleName The name of the web module from which to unregister the stats
param
ctxRoot The context root at which the web module has been deployed
param
vsId The id of the virtual-server on which the web module has been deployed
throws
MonitoringRegistrationException