public interface MonitoringRegistry
com.sun.enterprise.admin.monitor.registry.MonitoringLevelListener.java,
com.sun.enterprise.admin.monitor.registry.MonitoringLevel.java| Modifier and Type | Method and Description |
|---|---|
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(GFJTAStats 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
|
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.MonitoringRegistrationExceptionvoid 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.MonitoringRegistrationExceptionvoid 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.MonitoringRegistrationExceptionvoid 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.MonitoringRegistrationExceptionvoid 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.MonitoringRegistrationExceptionvoid 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.MonitoringRegistrationExceptionvoid 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.MonitoringRegistrationExceptionvoid 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.MonitoringRegistrationExceptionvoid 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.MonitoringRegistrationExceptionvoid 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.MonitoringRegistrationExceptionvoid 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.MonitoringRegistrationExceptionvoid 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.MonitoringRegistrationExceptionvoid 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.MonitoringRegistrationExceptionvoid 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.MonitoringRegistrationExceptionvoid 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.MonitoringRegistrationExceptionvoid unregisterOrbConnectionManagerStats(String orbName) throws MonitoringRegistrationException
orbName - MonitoringRegistrationExceptionvoid 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.MonitoringRegistrationExceptionvoid unregisterThreadPoolStats(String poolId) throws MonitoringRegistrationException
poolId - String representing the (unique) name of the poolMonitoringRegistrationExceptionvoid 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.MonitoringRegistrationExceptionvoid unregisterConnectorConnectionPoolStats(String connectorConnectionPoolName) throws MonitoringRegistrationException
connectorConnectionPoolName - MonitoringRegistrationExceptionvoid 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.MonitoringRegistrationExceptionvoid unregisterJDBCConnectionPoolStats(String jdbcConnectionPoolName) throws MonitoringRegistrationException
jdbcConnectionPoolName - MonitoringRegistrationExceptionvoid registerJTAStats(GFJTAStats 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.MonitoringRegistrationExceptionvoid unregisterJTAStats()
throws MonitoringRegistrationException
MonitoringRegistrationExceptionvoid registerJVMStats(JVMStats stats, MonitoringLevelListener listener) throws MonitoringRegistrationException
MonitoringRegistrationExceptionvoid unregisterJVMStats()
throws MonitoringRegistrationException
MonitoringRegistrationExceptionvoid 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 failurevoid 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 failurevoid 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 objectRuntimeException - 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 earlierRuntimeException - if the Listener is not registered beforevoid 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 failurevoid 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 monitoredMonitoringRegistrationException - in case of a failurevoid 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 changesMonitoringRegistrationExceptionvoid 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 deployedMonitoringRegistrationExceptionWebModuleStats 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 deployedvoid registerPWCHttpServiceStats(PWCHttpServiceStats stats, MonitoringLevelListener listener) throws MonitoringRegistrationException
stats - an instance of PWCHttpServiceStatslistener - the listener for monitoring level changesMonitoringRegistrationExceptionvoid unregisterPWCHttpServiceStats()
throws MonitoringRegistrationException
MonitoringRegistrationExceptionvoid registerPWCConnectionQueueStats(PWCConnectionQueueStats stats, MonitoringLevelListener listener) throws MonitoringRegistrationException
stats - an instance of PWCConnectionQueueStatslistener - the listener for monitoring level changesMonitoringRegistrationExceptionvoid unregisterPWCConnectionQueueStats()
throws MonitoringRegistrationException
MonitoringRegistrationExceptionvoid registerPWCDnsStats(PWCDnsStats stats, MonitoringLevelListener listener) throws MonitoringRegistrationException
stats - an instance of PWCDnsStatslistener - the listener for monitoring level changesMonitoringRegistrationExceptionvoid unregisterPWCDnsStats()
throws MonitoringRegistrationException
MonitoringRegistrationExceptionvoid registerPWCKeepAliveStats(PWCKeepAliveStats stats, MonitoringLevelListener listener) throws MonitoringRegistrationException
stats - an instance of PWCKeepAliveStatslistener - the listener for monitoring level changesMonitoringRegistrationExceptionvoid unregisterPWCKeepAliveStats()
throws MonitoringRegistrationException
MonitoringRegistrationExceptionvoid registerPWCThreadPoolStats(PWCThreadPoolStats stats, MonitoringLevelListener listener) throws MonitoringRegistrationException
stats - an instance of PWCThreadPoolStatslistener - the listener for monitoring level changesMonitoringRegistrationExceptionvoid unregisterPWCThreadPoolStats()
throws MonitoringRegistrationException
MonitoringRegistrationExceptionvoid registerPWCFileCacheStats(PWCFileCacheStats stats, MonitoringLevelListener listener) throws MonitoringRegistrationException
stats - an instance of PWCFileCacheStatslistener - the listener for monitoring level changesMonitoringRegistrationExceptionvoid unregisterPWCFileCacheStats()
throws MonitoringRegistrationException
MonitoringRegistrationExceptionvoid 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 changesMonitoringRegistrationExceptionvoid unregisterPWCVirtualServerStats(String vsId) throws MonitoringRegistrationException
vsId - the Id of the virtual-server, whose stats need to be deregisteredMonitoringRegistrationExceptionvoid 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 changesMonitoringRegistrationExceptionvoid unregisterPWCRequestStats(String vsId) throws MonitoringRegistrationException
vsId - the Id of the virutal-serverMonitoringRegistrationExceptionvoid 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 changesMonitoringRegistrationExceptionvoid 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 changesMonitoringRegistrationExceptionvoid 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 moduleMonitoringRegistrationExceptionvoid 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-serviceMonitoringRegistrationExceptionvoid 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 changesMonitoringRegistrationExceptionvoid unregisterConnectionFactoryStats(String factoryName) throws MonitoringRegistrationException
factoryName - the name of the connection factoryMonitoringRegistrationExceptionvoid 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.MonitoringRegistrationExceptionvoid unregisterConnectorConnectionPoolStats(String poolName, String j2eeAppName, String moduleName) throws MonitoringRegistrationException
poolName - j2eeAppName - moduleName - MonitoringRegistrationExceptionvoid 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 changesMonitoringRegistrationExceptionvoid 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 jarMonitoringRegistrationExceptionvoid 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 changesMonitoringRegistrationExceptionvoid 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 jarMonitoringRegistrationExceptionvoid 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 changesMonitoringRegistrationExceptionvoid 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 jarMonitoringRegistrationExceptionvoid 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 changesMonitoringRegistrationExceptionvoid 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 jarMonitoringRegistrationExceptionCopyright © 2017–2019 Eclipse Foundation. All rights reserved.