org.apache.geronimo.j2ee.management.impl
Class JVMImpl
java.lang.Object
  
org.apache.geronimo.j2ee.management.impl.JVMImpl
- All Implemented Interfaces: 
 - org.apache.geronimo.management.J2EEManagedObject, org.apache.geronimo.management.JVM, org.apache.geronimo.management.StatisticsProvider
 
public class JVMImpl
- extends Object
- implements org.apache.geronimo.management.geronimo.JVM, org.apache.geronimo.management.StatisticsProvider
  
 
| 
Constructor Summary | 
JVMImpl(String objectName,
               org.apache.geronimo.kernel.Kernel kernel,
               org.apache.geronimo.system.logging.SystemLog systemLog)
 
            | 
 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
JAVA_VERSION
public static final String JAVA_VERSION
JAVA_VENDOR
public static final String JAVA_VENDOR
NODE
public static final String NODE
GBEAN_INFO
public static final org.apache.geronimo.gbean.GBeanInfo GBEAN_INFO
JVMImpl
public JVMImpl(String objectName,
               org.apache.geronimo.kernel.Kernel kernel,
               org.apache.geronimo.system.logging.SystemLog systemLog)
getObjectName
public String getObjectName()
- Specified by:
 getObjectName in interface org.apache.geronimo.management.J2EEManagedObject
 
 
isStateManageable
public boolean isStateManageable()
- Specified by:
 isStateManageable in interface org.apache.geronimo.management.J2EEManagedObject
 
 
isStatisticsProvider
public boolean isStatisticsProvider()
- Specified by:
 isStatisticsProvider in interface org.apache.geronimo.management.J2EEManagedObject
 
 
isEventProvider
public boolean isEventProvider()
- Specified by:
 isEventProvider in interface org.apache.geronimo.management.J2EEManagedObject
 
 
getJavaVersion
public String getJavaVersion()
- The version of the JVMImpl we are running on.
 This is the value of java.version system property
- Specified by:
 getJavaVersion in interface org.apache.geronimo.management.JVM
 
- Returns:
 - the JVMImpl version
 - See Also:
 - "JSR77.3.4.1.1"
 
 
 
getJavaVendor
public String getJavaVendor()
- The vendor of the JVMImpl we are running on.
 This is the value of java.vendor system property
- Specified by:
 getJavaVendor in interface org.apache.geronimo.management.JVM
 
- Returns:
 - the JVMImpl version
 - See Also:
 - "JSR77.3.4.1.2"
 
 
 
getNode
public String getNode()
- The node we are running on.
 This is the fully qualified host name returned for InetAddress.getLocalHost.toString();
 we return null if there is no network
- Specified by:
 getNode in interface org.apache.geronimo.management.JVM
 
- Returns:
 - the node we are running on
 - See Also:
 - "JSR77.3.4.1.3"
 
 
 
getAvailableProcessors
public int getAvailableProcessors()
 
 
getKernelBootTime
public Date getKernelBootTime()
 
 
getStats
public Stats getStats()
- Specified by:
 getStats in interface org.apache.geronimo.management.StatisticsProvider
 
 
getSystemProperties
public Properties getSystemProperties()
 
 
getSystemLog
public org.apache.geronimo.system.logging.SystemLog getSystemLog()
 
 
getGBeanInfo
public static org.apache.geronimo.gbean.GBeanInfo getGBeanInfo()
 
 
Copyright © 2006 Apache Software Foundation. All Rights Reserved.