org.apache.geronimo.j2ee.management.impl
Class JVMImpl
java.lang.Object
org.apache.geronimo.j2ee.management.impl.JVMImpl
- public class JVMImpl
- extends Object
- Version:
- $Revision: 1.4 $ $Date: 2004/06/02 05:33:02 $
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()
getjavaVersion
public String getjavaVersion()
- The version of the JVMImpl we are running on.
This is the value of java.version system property
- 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
- 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
- Returns:
- the node we are running on
- See Also:
- "JSR77.3.4.1.3"
getfreeMemory
public long getfreeMemory()
getmaxMemory
public long getmaxMemory()
gettotalMemory
public long gettotalMemory()
getavailableProcessors
public int getavailableProcessors()
getGBeanInfo
public static org.apache.geronimo.gbean.GBeanInfo getGBeanInfo()
Copyright © 2003-2005 Apache Software Foundation. All Rights Reserved.