当前页面:
在线文档首页 >
JBoss 4.0.1 sp1 management API Documentation 英文版文档
JVM (JBoss/Management API) - JBoss 4.0.1 sp1 management API Documentation 英文版文档
org.jboss.management.j2ee
Class JVM
java.lang.Object
org.jboss.mx.util.JBossNotificationBroadcasterSupport
org.jboss.system.ServiceMBeanSupport
org.jboss.management.j2ee.J2EEManagedObject
org.jboss.management.j2ee.JVM
- All Implemented Interfaces:
- J2EEManagedObjectMBean, JVMMBean, javax.management.MBeanRegistration, javax.management.NotificationBroadcaster, javax.management.NotificationEmitter, Serializable, org.jboss.system.Service, org.jboss.system.ServiceMBean, StatisticsProvider
- public class JVM
- extends J2EEManagedObject
- implements JVMMBean
The JBoss JSR-77.3.4 JVM model implementation
- Version:
- $Revision: 1.8 $
- Author:
- Andreas Schaefer., Scott.Stark@jboss.org, thomas.diesler@jboss.org
- See Also:
- Serialized Form
Fields inherited from class org.jboss.system.ServiceMBeanSupport |
log, 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 |
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 |
JVM
public JVM(String name,
javax.management.ObjectName j2eeServer,
String javaVersion,
String javaVendor,
String node)
throws javax.management.MalformedObjectNameException,
InvalidParentException
getjavaVendor
public String getjavaVendor()
- Specified by:
getjavaVendor
in interface JVMMBean
getjavaVersion
public String getjavaVersion()
- Specified by:
getjavaVersion
in interface JVMMBean
getnode
public String getnode()
- Specified by:
getnode
in interface JVMMBean
getstats
public javax.management.j2ee.statistics.Stats getstats()
- Obtain the Stats from the StatisticsProvider
- Specified by:
getstats
in interface JVMMBean
- Returns:
resetStats
public void resetStats()
- Reset all statistics in the StatisticsProvider
- Specified by:
resetStats
in interface JVMMBean
toString
public String toString()
- Overrides:
toString
in class J2EEManagedObject
getParentKeys
protected Hashtable getParentKeys(javax.management.ObjectName pParent)
- Description copied from class:
J2EEManagedObject
- This method can be overwritten by any subclass which must
return <parent-j2eeType> indicating its parents. By
default it returns an empty hashtable instance.
- Overrides:
getParentKeys
in class J2EEManagedObject
- Parameters:
pParent
- The direct parent of this class
- Returns:
- A hashtable with the J2EE Server as parent
Copyright © 2002 JBoss Group, LLC. All Rights Reserved.