Class JVMRuntimeInfoImpl
- java.lang.Object
-
- org.exoplatform.container.monitor.jvm.JVMRuntimeInfoImpl
-
- All Implemented Interfaces:
JVMRuntimeInfo,Startable
public class JVMRuntimeInfoImpl extends Object implements JVMRuntimeInfo, Startable
- Since:
- Nov 8, 2004
- Version:
- $Id: JVMRuntimeInfoImpl.java 5799 2006-05-28 17:55:42Z geaz $
- Author:
- Tuan Nguyen (tuan08@users.sourceforge.net)
-
-
Field Summary
-
Fields inherited from interface org.exoplatform.container.monitor.jvm.JVMRuntimeInfo
GARBAGE_COLLECTOR_MXBEANS, MEMORY_MANAGER_MXBEANS, MEMORY_POOL_MXBEANS
-
-
Constructor Summary
Constructors Constructor Description JVMRuntimeInfoImpl(InitParams params)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetBootClassPath()booleangetBootClassPathSupported()StringgetClassPath()ListgetInputArguments()StringgetLibraryPath()StringgetManagementSpecVersion()StringgetName()StringgetSpecName()StringgetSpecVendor()StringgetSpecVersion()longgetStartTime()MapgetSystemProperties()StringgetSystemPropertiesAsText()longgetUptime()StringgetVmName()StringgetVmVendor()StringgetVmVersion()booleanisManagementSupported()voidstart()Start this component.voidstop()Stop this component.StringtoString()
-
-
-
Constructor Detail
-
JVMRuntimeInfoImpl
public JVMRuntimeInfoImpl(InitParams params) throws Exception
- Throws:
Exception
-
-
Method Detail
-
getName
public String getName()
- Specified by:
getNamein interfaceJVMRuntimeInfo
-
getSpecName
public String getSpecName()
- Specified by:
getSpecNamein interfaceJVMRuntimeInfo
-
getSpecVendor
public String getSpecVendor()
- Specified by:
getSpecVendorin interfaceJVMRuntimeInfo
-
getSpecVersion
public String getSpecVersion()
- Specified by:
getSpecVersionin interfaceJVMRuntimeInfo
-
getManagementSpecVersion
public String getManagementSpecVersion()
- Specified by:
getManagementSpecVersionin interfaceJVMRuntimeInfo
-
getVmName
public String getVmName()
- Specified by:
getVmNamein interfaceJVMRuntimeInfo
-
getVmVendor
public String getVmVendor()
- Specified by:
getVmVendorin interfaceJVMRuntimeInfo
-
getVmVersion
public String getVmVersion()
- Specified by:
getVmVersionin interfaceJVMRuntimeInfo
-
getInputArguments
public List getInputArguments()
- Specified by:
getInputArgumentsin interfaceJVMRuntimeInfo
-
getSystemProperties
public Map getSystemProperties()
- Specified by:
getSystemPropertiesin interfaceJVMRuntimeInfo
-
getBootClassPathSupported
public boolean getBootClassPathSupported()
- Specified by:
getBootClassPathSupportedin interfaceJVMRuntimeInfo
-
getBootClassPath
public String getBootClassPath()
- Specified by:
getBootClassPathin interfaceJVMRuntimeInfo
-
getClassPath
public String getClassPath()
- Specified by:
getClassPathin interfaceJVMRuntimeInfo
-
getLibraryPath
public String getLibraryPath()
- Specified by:
getLibraryPathin interfaceJVMRuntimeInfo
-
getStartTime
public long getStartTime()
- Specified by:
getStartTimein interfaceJVMRuntimeInfo
-
getUptime
public long getUptime()
- Specified by:
getUptimein interfaceJVMRuntimeInfo
-
isManagementSupported
public boolean isManagementSupported()
- Specified by:
isManagementSupportedin interfaceJVMRuntimeInfo
-
getSystemPropertiesAsText
public String getSystemPropertiesAsText()
- Specified by:
getSystemPropertiesAsTextin interfaceJVMRuntimeInfo
-
start
public void start()
Description copied from interface:StartableStart this component. Called initially at the begin of the lifecycle. It can be called again after a stop.
-
stop
public void stop()
Description copied from interface:StartableStop this component. Called near the end of the lifecycle. It can be called again after a further start. ImplementDisposableif you need a single call at the definite end of the lifecycle.
-
-