|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.geronimo.j2ee.management.impl.JVMImpl
public class JVMImpl
Field Summary | |
---|---|
static GBeanInfo |
GBEAN_INFO
|
static String |
JAVA_VENDOR
|
static String |
JAVA_VERSION
|
static String |
NODE
|
Constructor Summary | |
---|---|
JVMImpl(String objectName,
Kernel kernel,
SystemLog systemLog)
|
Method Summary | |
---|---|
int |
getAvailableProcessors()
|
static GBeanInfo |
getGBeanInfo()
|
String |
getJavaVendor()
The vendor of the JVMImpl we are running on. |
String |
getJavaVersion()
The version of the JVMImpl we are running on. |
Date |
getKernelBootTime()
|
String |
getNode()
The node we are running on. |
String |
getObjectName()
Gets the unique name of this object. |
Stats |
getStats()
Gets the statistics collected for this class. |
SystemLog |
getSystemLog()
|
Properties |
getSystemProperties()
|
boolean |
isEventProvider()
Determines if this object implemnts the event provider type defined in the J2EE Management specification. |
boolean |
isStateManageable()
Determines if this object implements the state manageable type defined in the J2EE Management specification. |
boolean |
isStatisticsProvider()
Determines if this object implemnts the statistics provider type defined in the J2EE Management specification. |
void |
resetStats()
Reset the startTime for all statistics |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String JAVA_VERSION
public static final String JAVA_VENDOR
public static final String NODE
public static final GBeanInfo GBEAN_INFO
Constructor Detail |
---|
public JVMImpl(String objectName, Kernel kernel, SystemLog systemLog)
Method Detail |
---|
public String getObjectName()
J2EEManagedObject
getObjectName
in interface J2EEManagedObject
public boolean isStateManageable()
J2EEManagedObject
isStateManageable
in interface J2EEManagedObject
public boolean isStatisticsProvider()
J2EEManagedObject
isStatisticsProvider
in interface J2EEManagedObject
public boolean isEventProvider()
J2EEManagedObject
isEventProvider
in interface J2EEManagedObject
public String getJavaVersion()
getJavaVersion
in interface JVM
public String getJavaVendor()
getJavaVendor
in interface JVM
public String getNode()
getNode
in interface JVM
public int getAvailableProcessors()
public Date getKernelBootTime()
public Stats getStats()
StatisticsProvider
getStats
in interface StatisticsProvider
public void resetStats()
StatisticsProvider
resetStats
in interface StatisticsProvider
public Properties getSystemProperties()
public SystemLog getSystemLog()
public static GBeanInfo getGBeanInfo()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |