当前页面:
在线文档首页 >
JBoss 4.0.1 sp1 management API Documentation 英文版文档
JMSResource (JBoss/Management API) - JBoss 4.0.1 sp1 management API Documentation 英文版文档
org.jboss.management.j2ee
Class JMSResource
java.lang.Object
org.jboss.mx.util.JBossNotificationBroadcasterSupport
org.jboss.system.ServiceMBeanSupport
org.jboss.management.j2ee.J2EEManagedObject
org.jboss.management.j2ee.J2EEResource
org.jboss.management.j2ee.JMSResource
- All Implemented Interfaces:
- J2EEManagedObjectMBean, J2EEResourceMBean, JMSResourceMBean, javax.management.MBeanRegistration, javax.management.NotificationBroadcaster, javax.management.NotificationEmitter, Serializable, org.jboss.system.Service, org.jboss.system.ServiceMBean, StatisticsProvider
- public class JMSResource
- extends J2EEResource
- implements JMSResourceMBean
Root class of the JBoss JSR-77 implementation of the JMSResource model
- Version:
- $Revision: 1.11 $
- Author:
- Scott McLaughlin., thomas.diesler@jboss.org
- See Also:
- Serialized Form
Fields inherited from class org.jboss.system.ServiceMBeanSupport |
server, SERVICE_CONTROLLER_SIG, serviceName |
Fields inherited from interface org.jboss.system.ServiceMBean |
CREATE_EVENT, CREATED, DESTROY_EVENT, DESTROYED, FAILED, REGISTERED, START_EVENT, STARTED, STARTING, states, STOP_EVENT, STOPPED, STOPPING, UNREGISTERED |
Constructor Summary |
JMSResource(String resName,
javax.management.ObjectName j2eeServerName,
javax.management.ObjectName jmsServiceName)
|
Method Summary |
static javax.management.ObjectName |
create(javax.management.MBeanServer mbeanServer,
String resName,
javax.management.ObjectName jmsServiceName)
|
static void |
destroy(javax.management.MBeanServer pServer,
String pName)
|
javax.management.j2ee.statistics.Stats |
getstats()
Obtain the Stats from the StatisticsProvider. |
void |
resetStats()
Reset all statistics in the StatisticsProvider |
String |
toString()
|
Methods inherited from class org.jboss.management.j2ee.J2EEManagedObject |
addChild, getobjectName, getObjectName, getObjectName, getparent, getType, getType, iseventProvider, isstateManageable, isstatisticsProvider, newObjectName, postCreation, postRegister, preDeregister, preDestruction, removeChild, removeObject, removeObject, sendNotification, setparent |
Methods inherited from class org.jboss.system.ServiceMBeanSupport |
create, createService, destroy, destroyService, getLog, getName, getNextNotificationSequenceNumber, getServer, getServiceName, getState, getStateString, jbossInternalCreate, jbossInternalDescription, jbossInternalDestroy, jbossInternalLifecycle, jbossInternalStart, jbossInternalStop, postDeregister, preRegister, start, startService, stop, stopService |
Methods inherited from class org.jboss.mx.util.JBossNotificationBroadcasterSupport |
addNotificationListener, getNotificationInfo, handleNotification, removeNotificationListener, removeNotificationListener, sendNotification |
Methods inherited from interface org.jboss.system.ServiceMBean |
getName, getState, getStateString, jbossInternalLifecycle |
Methods inherited from interface org.jboss.system.Service |
create, destroy, start, stop |
JMSResource
public JMSResource(String resName,
javax.management.ObjectName j2eeServerName,
javax.management.ObjectName jmsServiceName)
throws javax.management.MalformedObjectNameException,
InvalidParentException
- Throws:
InvalidParameterException
- If list of nodes or ports was null or empty
javax.management.MalformedObjectNameException
InvalidParentException
create
public static javax.management.ObjectName create(javax.management.MBeanServer mbeanServer,
String resName,
javax.management.ObjectName jmsServiceName)
destroy
public static void destroy(javax.management.MBeanServer pServer,
String pName)
getstats
public javax.management.j2ee.statistics.Stats getstats()
- Obtain the Stats from the StatisticsProvider.
- Specified by:
getstats
in interface JMSResourceMBean
- Returns:
- An JMSStats subclass
resetStats
public void resetStats()
- Reset all statistics in the StatisticsProvider
- Specified by:
resetStats
in interface JMSResourceMBean
toString
public String toString()
- Overrides:
toString
in class J2EEManagedObject
Copyright © 2002 JBoss Group, LLC. All Rights Reserved.