|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
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.
monitor.registry.MonitoringLevelListener.java,
monitor.registry.MonitoringLevel.java| Method Summary | |
|---|---|
WebModuleStats |
getWebModuleStats(String j2eeAppName,
String webModuleName,
String ctxRoot,
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. |
void |
registerConnectionFactoryStats(ConnectionFactoryStats stats,
String factoryName,
MonitoringLevelListener listener)
Registers the ConnectionFactoryStats for the jms-service |
void |
registerConnectorConnectionPoolStats(ConnectorConnectionPoolStats connectorConnectionPoolStats,
String connectorConnectionPoolName,
MonitoringLevelListener listener)
Registers the Stats implementation for ConnectorConnectionPoolStats |
void |
registerConnectorConnectionPoolStats(ConnectorConnectionPoolStats stats,
String poolName,
String j2eeAppName,
String moduleName,
MonitoringLevelListener listener)
Registers the Stats implementation for ConnectorConnectionPoolStats |
void |
registerConnectorWorkMgmtStats(ConnectorWorkMgmtStats stats,
String j2eeAppName,
String moduleName,
boolean isJms,
MonitoringLevelListener listener)
Registers the work management stats for the connector |
void |
registerConnectorWorkMgmtStats(ConnectorWorkMgmtStats stats,
String j2eeAppName,
String moduleName,
MonitoringLevelListener listener)
Registers the work management stats for the connector |
void |
registerEJBCacheStats(EJBCacheStats ejbCacheStats,
MonitoredObjectType ejbType,
String ejbName,
String moduleName,
String applicationName,
MonitoringLevelListener listener)
Registers the Stats implementation for EJBCacheStats |
void |
registerEJBMethodStats(EJBMethodStats ejbMethodStats,
String ejbMethodName,
MonitoredObjectType ejbType,
String ejbName,
String moduleName,
String applicationName,
MonitoringLevelListener listener)
Registers the Stats implementation for EJBMethodStats |
void |
registerEJBPoolStats(EJBPoolStats ejbPoolStats,
MonitoredObjectType ejbType,
String ejbName,
String moduleName,
String applicationName,
MonitoringLevelListener listener)
Registers the Stats implementation for EJBPoolStats |
void |
registerEntityBeanStats(EntityBeanStats entityBeanStats,
String entityBeanName,
String moduleName,
String applicationName,
MonitoringLevelListener listener)
Registers the Stats implementation for EntityBeanStats |
void |
registerHttpListenerStats(HTTPListenerStats stats,
String listenerName,
String vsId,
MonitoringLevelListener listener)
Registeres the Stats for Http Listener for the web-server/web-container layer. |
void |
registerJDBCConnectionPoolStats(JDBCConnectionPoolStats jdbcConnectionPoolStats,
String jdbcConnectionPoolName,
MonitoringLevelListener listener)
Registers the Stats implementation for JDBCConnectionPoolStats |
void |
registerJTAStats(JTAStats jtaStats,
MonitoringLevelListener listener)
Registers the Stats implementation for the resource JTAStats |
void |
registerJVMStats(JVMStats stats,
MonitoringLevelListener listener)
|
void |
registerMessageDrivenBeanStats(MessageDrivenBeanStats messageDrivenBeanStats,
String messageDrivenBeanName,
String moduleName,
String applicationName,
MonitoringLevelListener listener)
Registers the Stats implementation for MessageDrivenBeanStats |
void |
registerMonitoringLevelListener(MonitoringLevelListener listener,
MonitoredObjectType objType)
Registers the given listener for the given type of monitorable entity. |
void |
registerOrbConnectionManagerStats(OrbConnectionManagerStats orbConnectionManagerStats,
String connectionMgrName,
MonitoringLevelListener listener)
Registers the Stats implementation for OrbConnectionManagerStats |
void |
registerPWCConnectionQueueStats(PWCConnectionQueueStats stats,
MonitoringLevelListener listener)
Registers the ConnectionQueueStats for PWC. |
void |
registerPWCDnsStats(PWCDnsStats stats,
MonitoringLevelListener listener)
Registers the DNSStats for PWC. |
void |
registerPWCFileCacheStats(PWCFileCacheStats stats,
MonitoringLevelListener listener)
Registers the FileCacheStats for PWC. |
void |
registerPWCHttpServiceStats(PWCHttpServiceStats stats,
MonitoringLevelListener listener)
Registers the HttpServiceStats for PWC. |
void |
registerPWCKeepAliveStats(PWCKeepAliveStats stats,
MonitoringLevelListener listener)
Registers the KeepAliveStats for PWC. |
void |
registerPWCRequestStats(PWCRequestStats stats,
String vsId,
MonitoringLevelListener listener)
Registers the RequestStats for PWC. |
void |
registerPWCThreadPoolStats(PWCThreadPoolStats stats,
MonitoringLevelListener listener)
Registers the ThreadPoolStats for PWC. |
void |
registerPWCVirtualServerStats(PWCVirtualServerStats stats,
String vsId,
MonitoringLevelListener listener)
Registers the VirtualServerStats for PWC. |
void |
registerServletStats(ServletStats stats,
String j2eeAppName,
String webModuleName,
String ctxRoot,
String vsId,
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. |
void |
registerStatefulSessionBeanStats(StatefulSessionBeanStats statefulSessionBeanStats,
String statefulSessionBeanName,
String moduleName,
String applicationName,
MonitoringLevelListener listener)
Registers the Stats implementation for StatefulSessionBeanStats |
void |
registerStatefulSessionStoreStats(StatefulSessionStoreStats stats,
MonitoredObjectType ejbType,
String ejbName,
String moduleName,
String j2eeAppName,
MonitoringLevelListener listener)
Registers the Sessionstore stats for an ejb |
void |
registerStatelessSessionBeanStats(StatelessSessionBeanStats statelessSessionBeanStats,
String statelessSessionBeanName,
String moduleName,
String applicationName,
MonitoringLevelListener listener)
Registers the Stats implementation for StatelessSessionBeanStats |
void |
registerThreadPoolStats(ThreadPoolStats ThreadPoolStats,
String threadPoolId,
MonitoringLevelListener listener)
Registers the Stats implementation for ThreadPoolStats. |
void |
registerTimerStats(TimerServiceStats stats,
MonitoredObjectType ejbType,
String ejbName,
String moduleName,
String j2eeAppName,
MonitoringLevelListener listener)
Registers the timer stats for an ejb |
void |
registerWebModuleStats(WebModuleStats stats,
String j2eeAppName,
String webModuleName,
String ctxRoot,
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. |
void |
registerWSAggregateStatsForEjb(Stats stats,
String endpointName,
String moduleName,
String j2eeAppName,
MonitoringLevelListener listener)
Registers the Aggregate stats for an web service endpoint |
void |
registerWSAggregateStatsForWeb(Stats stats,
String endpointName,
String moduleName,
String ctxRoot,
String j2eeAppName,
String vs,
MonitoringLevelListener listener)
Registers the Aggregate stats for an web service endpoint |
void |
unregisterConnectionFactoryStats(String factoryName)
Unregisters the ConnectionFactoryStats for the jms-service |
void |
unregisterConnectorConnectionPoolStats(String connectorConnectionPoolName)
Unregisters the Stats implementation for ConnectorConnectionPoolStats |
void |
unregisterConnectorConnectionPoolStats(String poolName,
String j2eeAppName,
String moduleName)
Unregisters the Stats implementation for ConnectorConnectionPoolStats |
void |
unregisterConnectorWorkMgmtStats(String j2eeAppName,
String moduleName)
Unregisters the work management stats for the connector |
void |
unregisterConnectorWorkMgmtStats(String j2eeAppName,
String moduleName,
boolean isJms)
Unregisters the work management stats for the connector |
void |
unregisterEJBCacheStats(MonitoredObjectType ejbType,
String ejbName,
String moduleName,
String applicationName)
Unregisters the Stats implementation for EJBCacheStats |
void |
unregisterEJBMethodStats(String ejbMethodName,
MonitoredObjectType ejbType,
String ejbName,
String moduleName,
String applicationName)
Unregisters the Stats implementation for EJBMethodStats |
void |
unregisterEJBPoolStats(MonitoredObjectType ejbType,
String ejbName,
String moduleName,
String applicationName)
Unregisters the Stats implementation for EJBPoolStats |
void |
unregisterEntityBeanStats(String entityBeanName,
String moduleName,
String applicationName)
Unregisters the Stats implementation for EntityBeanStats |
void |
unregisterHttpListenerStats(String listenerName,
String vsId)
Unregisters the stats for Http Listener for given listenerName and virtual-server-id. |
void |
unregisterJDBCConnectionPoolStats(String jdbcConnectionPoolName)
Unregisters the Stats implementation for JDBCConnectionPoolStats |
void |
unregisterJTAStats()
Unregisters the Stats implementation for the resource JTAStats |
void |
unregisterJVMStats()
|
void |
unregisterMessageDrivenBeanStats(String messageDrivenBeanName,
String moduleName,
String applicationName)
Unregisters the Stats implementation for MessageDrivenBeanStats |
void |
unregisterMonitoringLevelListener(MonitoringLevelListener listener)
Unregisters the given MonitoringLevelListener so that it is removed from internal list. |
void |
unregisterOrbConnectionManagerStats(String orbName)
Unregisters the Stats implementation for OrbConnectionManagerStats |
void |
unregisterPWCConnectionQueueStats()
Unregisters the stats for the ConnectionQueue |
void |
unregisterPWCDnsStats()
Unregisters the stats for the DNS |
void |
unregisterPWCFileCacheStats()
Unregisters the stats for the FileCache |
void |
unregisterPWCHttpServiceStats()
Unregisters the stats for the HttpService |
void |
unregisterPWCKeepAliveStats()
Unregisters the stats for the KeepAlive system |
void |
unregisterPWCRequestStats(String vsId)
Unregisters the stats for the PWCrequest |
void |
unregisterPWCThreadPoolStats()
Unregisters the stats for the PWCThreadPool |
void |
unregisterPWCVirtualServerStats(String vsId)
Unregisters the stats for the VirtualServer |
void |
unregisterServletStats(String j2eeAppName,
String webModuleName,
String ctxRoot,
String vsId,
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. |
void |
unregisterStatefulSessionBeanStats(String statefulSessionBeanName,
String moduleName,
String applicationName)
Unregisters the Stats implementation for StatefulSessionBeanStats |
void |
unregisterStatefulSessionStoreStats(MonitoredObjectType ejbType,
String ejbName,
String moduleName,
String j2eeAppName)
Unregisters the Sessionstore stats for the ejb |
void |
unregisterStatelessSessionBeanStats(String statelessSessionBeanName,
String moduleName,
String applicationName)
Unregisters the Stats implementation for StatelessSessionBeanStats |
void |
unregisterThreadPoolStats(String poolId)
Unregisters the Stats implementation for ThreadPoolStats. |
void |
unregisterTimerStats(MonitoredObjectType ejbType,
String ejbName,
String moduleName,
String j2eeAppName)
Unregisters the timer stats for an ejb |
void |
unregisterWebModuleStats(String j2eeAppName,
String webModuleName,
String ctxRoot,
String vsId)
Unregisters any WebModuleStats from the web module with the given webModuleName deployed on the virtual server with the
given vsId. |
void |
unregisterWSAggregateStatsForEjb(String endpointName,
String moduleName,
String j2eeAppName)
Unregisters the web service stats in a module |
void |
unregisterWSAggregateStatsForWeb(String endpointName,
String moduleName,
String ctxRoot,
String j2eeAppName,
String vs)
Unregisters the web service stats in a module |
| Method Detail |
|---|
void registerEntityBeanStats(EntityBeanStats entityBeanStats,
String entityBeanName,
String moduleName,
String applicationName,
MonitoringLevelListener listener)
throws MonitoringRegistrationException
entityBeanStats - implementation of org.glassfish.j2ee.statistics.EntityBeanStatsentityBeanName - moduleName - applicationName - passing a null here would
indicate that this is a registration for an EntityBean deployed under a
standalone module.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.
MonitoringRegistrationException
void unregisterEntityBeanStats(String entityBeanName,
String moduleName,
String applicationName)
throws MonitoringRegistrationException
entityBeanName - moduleName - applicationName - passing a null here would
indicate that this is a registration for an EntityBean deployed under a
standalone module.
MonitoringRegistrationException
void registerStatelessSessionBeanStats(StatelessSessionBeanStats statelessSessionBeanStats,
String statelessSessionBeanName,
String moduleName,
String applicationName,
MonitoringLevelListener listener)
throws MonitoringRegistrationException
statelessSessionBeanStats - implementation of
org.glassfish.j2ee.statistics.StatelessSessionBeanStatsstatelessSessionBeanName - moduleName - applicationName - passing a null here would
indicate that this is a registration for a StatelessSessionBean
deployed under a standalone module.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.
MonitoringRegistrationException
void unregisterStatelessSessionBeanStats(String statelessSessionBeanName,
String moduleName,
String applicationName)
throws MonitoringRegistrationException
statelessSessionBeanName - moduleName - applicationName - passing a null here would
indicate that this is a registration for a StatelessSessionBean
deployed under a standalone module.
MonitoringRegistrationException
void registerStatefulSessionBeanStats(StatefulSessionBeanStats statefulSessionBeanStats,
String statefulSessionBeanName,
String moduleName,
String applicationName,
MonitoringLevelListener listener)
throws MonitoringRegistrationException
statefulSessionBeanStats - implementation of from
org.glassfish.j2ee.statistics.StatefulSessionBeanStatsstatefulSessionBeanName - moduleName - applicationName - passing a null here would
indicate that this is a registration for a StatefulSessionBean
deployed under a standalone module.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.
MonitoringRegistrationException
void unregisterStatefulSessionBeanStats(String statefulSessionBeanName,
String moduleName,
String applicationName)
throws MonitoringRegistrationException
statefulSessionBeanName - moduleName - applicationName - passing a null here would
indicate that this is a registration for a StatefulSessionBean
deployed under a standalone module.
MonitoringRegistrationException
void registerMessageDrivenBeanStats(MessageDrivenBeanStats messageDrivenBeanStats,
String messageDrivenBeanName,
String moduleName,
String applicationName,
MonitoringLevelListener listener)
throws MonitoringRegistrationException
messageDrivenBeanStats - implementation of
org.glassfish.j2ee.statistics.MessageDrivenBeanStatsmessageDrivenBeanName - moduleName - applicationName - passing a null here would
indicate that this is a registration for a MessageDrivenBean
deployed under a standalone module.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.
MonitoringRegistrationException
void unregisterMessageDrivenBeanStats(String messageDrivenBeanName,
String moduleName,
String applicationName)
throws MonitoringRegistrationException
messageDrivenBeanName - moduleName - applicationName - passing a null here would
indicate that this is a registration for a MessageDrivenBean
deployed under a standalone module.
MonitoringRegistrationException
void registerEJBCacheStats(EJBCacheStats ejbCacheStats,
MonitoredObjectType ejbType,
String ejbName,
String moduleName,
String applicationName,
MonitoringLevelListener listener)
throws MonitoringRegistrationException
ejbCacheStats - implemetation of
com.sun.enterprise.admin.monitor.stats.EJBCacheStatsejbName - moduleName - applicationName - passing a null here would
indicate that this is a registration for an EJB deployed under a
standalone module.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.
MonitoringRegistrationException
void unregisterEJBCacheStats(MonitoredObjectType ejbType,
String ejbName,
String moduleName,
String applicationName)
throws MonitoringRegistrationException
ejbName - moduleName - applicationName - passing a null here would
indicate that this is a registration for an EJB deployed under a
standalone module.
MonitoringRegistrationException
void registerEJBPoolStats(EJBPoolStats ejbPoolStats,
MonitoredObjectType ejbType,
String ejbName,
String moduleName,
String applicationName,
MonitoringLevelListener listener)
throws MonitoringRegistrationException
ejbPoolStats - implementation of
com.sun.enterprise.admin.monitor.stats.EJBPoolStatsejbName - moduleName - applicationName - passing a null here would
indicate that this is a registration for an EJB deployed under a
standalone module.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.
MonitoringRegistrationException
void unregisterEJBPoolStats(MonitoredObjectType ejbType,
String ejbName,
String moduleName,
String applicationName)
throws MonitoringRegistrationException
ejbName - moduleName - applicationName - passing a null here would
indicate that this is a registration for an EJB deployed under a
standalone module.
MonitoringRegistrationException
void registerEJBMethodStats(EJBMethodStats ejbMethodStats,
String ejbMethodName,
MonitoredObjectType ejbType,
String ejbName,
String moduleName,
String applicationName,
MonitoringLevelListener listener)
throws MonitoringRegistrationException
ejbMethodStats - implementation of
com.sun.enterprise.admin.monitor.stats.EJBMethodStatsejbMethodName - ejbName - moduleName - applicationName - passing a null here would
indicate that this is a registration for an EJB deployed under a
standalone module.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.
MonitoringRegistrationException
void unregisterEJBMethodStats(String ejbMethodName,
MonitoredObjectType ejbType,
String ejbName,
String moduleName,
String applicationName)
throws MonitoringRegistrationException
ejbMethodName - ejbName - moduleName - applicationName - passing a null here would
indicate that this is a registration for an EJB deployed under a
standalone module.
MonitoringRegistrationException
void registerOrbConnectionManagerStats(OrbConnectionManagerStats orbConnectionManagerStats,
String connectionMgrName,
MonitoringLevelListener listener)
throws MonitoringRegistrationException
orbConnectionManagerStats - implementation of
com.sun.enterprise.admin.monitor.stats.OrbConnectionManagerStatsconnectionMgrName - id of the connection-managerlistener - 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.
MonitoringRegistrationException
void unregisterOrbConnectionManagerStats(String orbName)
throws MonitoringRegistrationException
orbName -
MonitoringRegistrationException
void registerThreadPoolStats(ThreadPoolStats ThreadPoolStats,
String threadPoolId,
MonitoringLevelListener listener)
throws MonitoringRegistrationException
ThreadPoolStats - implementation of com.sun.enterprise.admin.monitor.stats.ThreadPoolStatspoolId - String that represents the thread pool id -- needs to be uniquelistener - 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.
MonitoringRegistrationException
void unregisterThreadPoolStats(String poolId)
throws MonitoringRegistrationException
poolId - String representing the (unique) name of the pool
MonitoringRegistrationException
void registerConnectorConnectionPoolStats(ConnectorConnectionPoolStats connectorConnectionPoolStats,
String connectorConnectionPoolName,
MonitoringLevelListener listener)
throws MonitoringRegistrationException
connectorConnectionPoolStats - implementation of
com.sun.enterprise.admin.monitor.stats.ConnectorConnectionPoolStatsconnectorConnectionPoolName - 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.
MonitoringRegistrationException
void unregisterConnectorConnectionPoolStats(String connectorConnectionPoolName)
throws MonitoringRegistrationException
connectorConnectionPoolName -
MonitoringRegistrationException
void registerJDBCConnectionPoolStats(JDBCConnectionPoolStats jdbcConnectionPoolStats,
String jdbcConnectionPoolName,
MonitoringLevelListener listener)
throws MonitoringRegistrationException
jdbcConnectionPoolStats - implementation of
com.sun.enterprise.admin.monitor.stats.JDBCConnectionPoolStatsjdbcConnectionPoolName - 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.
MonitoringRegistrationException
void unregisterJDBCConnectionPoolStats(String jdbcConnectionPoolName)
throws MonitoringRegistrationException
jdbcConnectionPoolName -
MonitoringRegistrationException
void registerJTAStats(JTAStats jtaStats,
MonitoringLevelListener listener)
throws MonitoringRegistrationException
jtaStats - implementation of com.sun.enterprise.admin.monitor.stats.JTAStatslistener - 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.
MonitoringRegistrationException
void unregisterJTAStats()
throws MonitoringRegistrationException
MonitoringRegistrationException
void registerJVMStats(JVMStats stats,
MonitoringLevelListener listener)
throws MonitoringRegistrationException
MonitoringRegistrationException
void unregisterJVMStats()
throws MonitoringRegistrationException
MonitoringRegistrationException
void registerHttpListenerStats(HTTPListenerStats stats,
String listenerName,
String vsId,
MonitoringLevelListener listener)
throws MonitoringRegistrationException
listenerName - String representing the name of the listener (may not be null)vsId - String representing the id of pertinent virtual server (may not be null)
MonitoringRegistrationException - in case there is a registration failure
void unregisterHttpListenerStats(String listenerName,
String vsId)
throws MonitoringRegistrationException
listenerName - String representing the listener's name (may not be null)vsId - String represeting the virtual server id (may not be null)
MonitoringRegistrationException - in case of a failure
void registerMonitoringLevelListener(MonitoringLevelListener listener,
MonitoredObjectType objType)
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.
{@link - MonitoringLevelListener} that is interested in a specific type (may not be null){@link - MonitoredObjectType} that indicates a specific monitored object
RuntimeException - if the registration failsvoid unregisterMonitoringLevelListener(MonitoringLevelListener listener)
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.
MonitoringLevelListener - that is registered earlier
RuntimeException - if the Listener is not registered before
void registerServletStats(ServletStats stats,
String j2eeAppName,
String webModuleName,
String ctxRoot,
String vsId,
String servletName,
MonitoringLevelListener listener)
throws MonitoringRegistrationException
stats - An instance of the ServletStatsj2eeAppName - A string representing the J2EE Application
to which the webmodule belongs. If the
j2eeAppName is null, then the webmodule
is a stand-alone webmodulewebModuleName - The name of the web module to which the
servlet belongsctxRoot - The context root at which the web module has been
deployedvsId - The virtual-server, with which the
webmodule is associatedservletName - The name of the servlet/jsp being monitoredlistener -
MonitoringRegistrationException - in case of a failure
void unregisterServletStats(String j2eeAppName,
String webModuleName,
String ctxRoot,
String vsId,
String servletName)
throws MonitoringRegistrationException
j2eeAppName - A string representing the J2EE Application
to which the webmodule belongs. If the
j2eeAppName is null, then the webmodule
is a stand-alone webmodulewebModuleName - The name of the web module to which the servlet
belongsctxRoot - The context root at which the web module has been
deployedvsId - The virtual-server, with which the
webmodule is associatedservletName - The name of the servlet/jsp being monitored
MonitoringRegistrationException - in case of a failure
void registerWebModuleStats(WebModuleStats stats,
String j2eeAppName,
String webModuleName,
String ctxRoot,
String vsId,
MonitoringLevelListener listener)
throws MonitoringRegistrationException
webModuleName deployed on the virtual server with the
given vsId.
stats - The stats to registerj2eeAppName - String representing the J2EE Application to which
the web module belongs, or null if the web module is stand-alonewebModuleName - The name of the web module for which to register
the statsctxRoot - The context root at which the web module has been
deployedvsId - The id of the virtual-server on which the web module has
been deployedlistener - The listener for monitoring level changes
MonitoringRegistrationException
void unregisterWebModuleStats(String j2eeAppName,
String webModuleName,
String ctxRoot,
String vsId)
throws MonitoringRegistrationException
webModuleName deployed on the virtual server with the
given vsId.
j2eeAppName - String representing the J2EE Application to which
the web module belongs, or null if the web module is stand-alonewebModuleName - The name of the web module from which to unregister
the statsctxRoot - The context root at which the web module has been
deployedvsId - The id of the virtual-server on which the web module has
been deployed
MonitoringRegistrationException
WebModuleStats getWebModuleStats(String j2eeAppName,
String webModuleName,
String ctxRoot,
String vsId)
webModuleName that is part of the application named
j2eeAppName and has been deployed on the virtual server
vsId.
j2eeAppName - String representing the J2EE Application to which
the web module belongs, or null if the web module is stand-alonewebModuleName - The name of the web module whose stats are to be
returnedctxRoot - The context root at which the web module has been
deployedvsId - The id of the virtual-server on which the web module has
been deployed
void registerPWCHttpServiceStats(PWCHttpServiceStats stats,
MonitoringLevelListener listener)
throws MonitoringRegistrationException
stats - an instance of PWCHttpServiceStatslistener - the listener for monitoring level changes
MonitoringRegistrationException
void unregisterPWCHttpServiceStats()
throws MonitoringRegistrationException
MonitoringRegistrationException
void registerPWCConnectionQueueStats(PWCConnectionQueueStats stats,
MonitoringLevelListener listener)
throws MonitoringRegistrationException
stats - an instance of PWCConnectionQueueStatslistener - the listener for monitoring level changes
MonitoringRegistrationException
void unregisterPWCConnectionQueueStats()
throws MonitoringRegistrationException
MonitoringRegistrationException
void registerPWCDnsStats(PWCDnsStats stats,
MonitoringLevelListener listener)
throws MonitoringRegistrationException
stats - an instance of PWCDnsStatslistener - the listener for monitoring level changes
MonitoringRegistrationException
void unregisterPWCDnsStats()
throws MonitoringRegistrationException
MonitoringRegistrationException
void registerPWCKeepAliveStats(PWCKeepAliveStats stats,
MonitoringLevelListener listener)
throws MonitoringRegistrationException
stats - an instance of PWCKeepAliveStatslistener - the listener for monitoring level changes
MonitoringRegistrationException
void unregisterPWCKeepAliveStats()
throws MonitoringRegistrationException
MonitoringRegistrationException
void registerPWCThreadPoolStats(PWCThreadPoolStats stats,
MonitoringLevelListener listener)
throws MonitoringRegistrationException
stats - an instance of PWCThreadPoolStatslistener - the listener for monitoring level changes
MonitoringRegistrationException
void unregisterPWCThreadPoolStats()
throws MonitoringRegistrationException
MonitoringRegistrationException
void registerPWCFileCacheStats(PWCFileCacheStats stats,
MonitoringLevelListener listener)
throws MonitoringRegistrationException
stats - an instance of PWCFileCacheStatslistener - the listener for monitoring level changes
MonitoringRegistrationException
void unregisterPWCFileCacheStats()
throws MonitoringRegistrationException
MonitoringRegistrationException
void registerPWCVirtualServerStats(PWCVirtualServerStats stats,
String vsId,
MonitoringLevelListener listener)
throws MonitoringRegistrationException
stats - an instance of PWCVirtualServerStatsvsId - the Id of the virtual-server for which the Stats
are being registeredlistener - the listener for monitoring level changes
MonitoringRegistrationException
void unregisterPWCVirtualServerStats(String vsId)
throws MonitoringRegistrationException
vsId - the Id of the virtual-server, whose stats need to be deregistered
MonitoringRegistrationException
void registerPWCRequestStats(PWCRequestStats stats,
String vsId,
MonitoringLevelListener listener)
throws MonitoringRegistrationException
stats - an instance of PWCRequestStatsvsId - the Id of the virtual-server for which the Stats
are being registeredlistener - the listener for monitoring level changes
MonitoringRegistrationException
void unregisterPWCRequestStats(String vsId)
throws MonitoringRegistrationException
vsId - the Id of the virutal-server
MonitoringRegistrationException
void registerConnectorWorkMgmtStats(ConnectorWorkMgmtStats stats,
String j2eeAppName,
String moduleName,
MonitoringLevelListener listener)
throws MonitoringRegistrationException
stats - an instance of com.sun.enterprise.admin.monitor.stats.ConnectorWorkMgmtStatsj2eeAppName - the name of the j2eeApp,in which the connector is embedded
if null, indicates that a standalone connector is being monitoredmoduleName - the name of the connector modulelistener - the listener for monitoring level changes
MonitoringRegistrationException
void registerConnectorWorkMgmtStats(ConnectorWorkMgmtStats stats,
String j2eeAppName,
String moduleName,
boolean isJms,
MonitoringLevelListener listener)
throws MonitoringRegistrationException
stats - an instance of com.sun.enterprise.admin.monitor.stats.ConnectorWorkMgmtStatsj2eeAppName - the name of the j2eeApp,in which the connector is embedded
if null, indicates that a standalone connector is being monitoredmoduleName - the name of the connector moduleisJms - if true, indicates that the workmanagement stats are being registered
for jms-servicelistener - the listener for monitoring level changes
MonitoringRegistrationException
void unregisterConnectorWorkMgmtStats(String j2eeAppName,
String moduleName)
throws MonitoringRegistrationException
j2eeAppName - the name of the j2eeApp,in which the connector is embedded
if null, indicates that a standalone connector is being monitoredmoduleName - the name of the connector module
MonitoringRegistrationException
void unregisterConnectorWorkMgmtStats(String j2eeAppName,
String moduleName,
boolean isJms)
throws MonitoringRegistrationException
j2eeAppName - the name of the j2eeApp,in which the connector is embedded
if null, indicates that a standalone connector is being monitoredmoduleName - the name of the connector moduleisJms - if true, indicates that the workmanagement stats are being unregistered
from jms-service
MonitoringRegistrationException
void registerConnectionFactoryStats(ConnectionFactoryStats stats,
String factoryName,
MonitoringLevelListener listener)
throws MonitoringRegistrationException
stats - an instance of com.sun.enterprise.admin.monitor.stats.ConnectionFactoryStatsfactoryName - the name of the connection factorylistener - the listener for monitoring level changes
MonitoringRegistrationException
void unregisterConnectionFactoryStats(String factoryName)
throws MonitoringRegistrationException
factoryName - the name of the connection factory
MonitoringRegistrationException
void registerConnectorConnectionPoolStats(ConnectorConnectionPoolStats stats,
String poolName,
String j2eeAppName,
String moduleName,
MonitoringLevelListener listener)
throws MonitoringRegistrationException
connectorConnectionPoolStats - implementation of
com.sun.enterprise.admin.monitor.stats.ConnectorConnectionPoolStatspoolName - j2eeAppName - the name of the j2eeAppmoduleName - the name the connector modulelistener - 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.
MonitoringRegistrationException
void unregisterConnectorConnectionPoolStats(String poolName,
String j2eeAppName,
String moduleName)
throws MonitoringRegistrationException
poolName - j2eeAppName - moduleName -
MonitoringRegistrationException
void registerStatefulSessionStoreStats(StatefulSessionStoreStats stats,
MonitoredObjectType ejbType,
String ejbName,
String moduleName,
String j2eeAppName,
MonitoringLevelListener listener)
throws MonitoringRegistrationException
stats - an instance of com.sun.enterprise.admin.monitor.stats.StatefulSessionStoreStatsejbName - the name of the ejb for which the stats are being registeredmoduleName - the name of the jar to which the ejb belongsj2eeAppName - the name of the j2eeApp, that contains the ejb jar
if null, indicates that the ejb jar is standalonelistener - the listener for monitoring level changes
MonitoringRegistrationException
void unregisterStatefulSessionStoreStats(MonitoredObjectType ejbType,
String ejbName,
String moduleName,
String j2eeAppName)
throws MonitoringRegistrationException
ejbName - the name of the ejb for which the stats are being unregisteredmoduleName - the name of the jar, to which the ejb belongsj2eeAppName - the name of the j2eeApp, that contains the ejb jar
MonitoringRegistrationException
void registerTimerStats(TimerServiceStats stats,
MonitoredObjectType ejbType,
String ejbName,
String moduleName,
String j2eeAppName,
MonitoringLevelListener listener)
throws MonitoringRegistrationException
stats - an instance of com.sun.enterprise.admin.monitor.stats.TimerServiceStatsejbName - the name of the ejb for which the stats are being registeredmoduleName - the name of the jar containing the ejbj2eeAppName - the name of the j2eeApp, that contains the ejb jar
if null, indicated that the ejb jar is standalonelistener - the listener for monitoring level changes
MonitoringRegistrationException
void unregisterTimerStats(MonitoredObjectType ejbType,
String ejbName,
String moduleName,
String j2eeAppName)
throws MonitoringRegistrationException
ejbName - the name of the ejb for which the stats are being unregisteredmoduleName - the name of the jar, to which the ejb belongsj2eeAppName - the name of the j2eeApp, that contains the ejb jar
MonitoringRegistrationException
void registerWSAggregateStatsForWeb(Stats stats,
String endpointName,
String moduleName,
String ctxRoot,
String j2eeAppName,
String vs,
MonitoringLevelListener listener)
throws MonitoringRegistrationException
stats - an instance of
com.sun.appserv.management.monitor.statistics.WebServiceAggregateStatsendpointName - the name of the endpoint for which the stats are
being registeredmoduleName - the name of the jar to which the ejb belongsctxRoot - The context root at which the web module has been
deployedj2eeAppName - the name of the j2eeApp, that contains the ejb jar
if null, indicates that the ejb jar is standalonelistener - the listener for monitoring level changes
MonitoringRegistrationException
void unregisterWSAggregateStatsForWeb(String endpointName,
String moduleName,
String ctxRoot,
String j2eeAppName,
String vs)
throws MonitoringRegistrationException
endpointName - the name of the endpoint for which the stats are
being unregisteredmoduleName - the name of the jar, to which the endpoint belongsctxRoot - The context root at which the web module has been
deployedj2eeAppName - the name of the j2eeApp, that contains the ejb jar
MonitoringRegistrationException
void registerWSAggregateStatsForEjb(Stats stats,
String endpointName,
String moduleName,
String j2eeAppName,
MonitoringLevelListener listener)
throws MonitoringRegistrationException
stats - an instance of
com.sun.appserv.management.monitor.statistics.WebServiceAggregateStatsendpointName - the name of the endpoint for which the stats are
being registeredmoduleName - the name of the jar to which the ejb belongsj2eeAppName - the name of the j2eeApp, that contains the ejb jar
if null, indicates that the ejb jar is standalonelistener - the listener for monitoring level changes
MonitoringRegistrationException
void unregisterWSAggregateStatsForEjb(String endpointName,
String moduleName,
String j2eeAppName)
throws MonitoringRegistrationException
endpointName - the name of the endpoint for which the stats are
being unregisteredmoduleName - the name of the jar, to which the endpoint belongsj2eeAppName - the name of the j2eeApp, that contains the ejb jar
MonitoringRegistrationException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||