org.jboss.management.j2ee
Class JVM

java.lang.Object
  extended byorg.jboss.mx.util.JBossNotificationBroadcasterSupport (src) 
      extended byorg.jboss.system.ServiceMBeanSupport (src) 
          extended byorg.jboss.management.j2ee.J2EEManagedObject (src) 
              extended byorg.jboss.management.j2ee.JVM
All Implemented Interfaces:
MBeanRegistration (src) , NotificationBroadcaster (src) , NotificationEmitter (src) , Service (src) , ServiceMBean (src)

public class JVM
extends J2EEManagedObject (src)

The JBoss JSR-77.3.4 JVM model implementation


Field Summary
 
Fields inherited from class org.jboss.management.j2ee.J2EEManagedObject (src)
NAME, TYPE
 
Fields inherited from class org.jboss.system.ServiceMBeanSupport (src)
log, server, SERVICE_CONTROLLER_SIG, serviceName
 
Fields inherited from interface org.jboss.system.ServiceMBean (src)
CREATE_EVENT, CREATED, DESTROY_EVENT, DESTROYED, FAILED, REGISTERED, START_EVENT, STARTED, STARTING, states, STOP_EVENT, STOPPED, STOPPING, UNREGISTERED
 
Constructor Summary
JVM(java.lang.String name, ObjectName (src)  j2eeServer, java.lang.String javaVersion, java.lang.String javaVendor, java.lang.String node)
           
 
Method Summary
 java.lang.String getjavaVendor()
           
 java.lang.String getjavaVersion()
           
 java.lang.String getnode()
           
protected  java.util.Hashtable getParentKeys(ObjectName (src)  pParent)
          This method can be overwritten by any subclass which must return <parent-j2eeType> indicating its parents.
 Stats (src) getstats()
          Obtain the Stats from the StatisticsProvider
 void resetStats()
          Reset all statistics in the StatisticsProvider
 java.lang.String toString()
           
 
Methods inherited from class org.jboss.management.j2ee.J2EEManagedObject (src)
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 (src)
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 (src)
addNotificationListener, getNotificationInfo, handleNotification, removeNotificationListener, removeNotificationListener, sendNotification
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JVM

public JVM(java.lang.String name,
           ObjectName (src)  j2eeServer,
           java.lang.String javaVersion,
           java.lang.String javaVendor,
           java.lang.String node)
    throws MalformedObjectNameException (src) ,
           InvalidParentException (src) 
Method Detail

getjavaVendor

public java.lang.String getjavaVendor()

getjavaVersion

public java.lang.String getjavaVersion()

getnode

public java.lang.String getnode()

getstats

public Stats (src)  getstats()
Obtain the Stats from the StatisticsProvider

Returns:

resetStats

public void resetStats()
Reset all statistics in the StatisticsProvider


toString

public java.lang.String toString()
Overrides:
toString in class J2EEManagedObject (src)

getParentKeys

protected java.util.Hashtable getParentKeys(ObjectName (src)  pParent)
Description copied from class: J2EEManagedObject (src)
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 (src)
Parameters:
pParent - The direct parent of this class
Returns:
A hashtable with the J2EE Server as parent