Class JVMInformationCollector
- java.lang.Object
-
- javax.management.StandardMBean
-
- com.sun.enterprise.v3.admin.commands.JVMInformationCollector
-
- All Implemented Interfaces:
JVMInformationMBean,DynamicMBean,MBeanRegistration
public class JVMInformationCollector extends StandardMBean implements JVMInformationMBean
-
-
Constructor Summary
Constructors Constructor Description JVMInformationCollector()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetClassInformation(String processName)StringgetLogInformation(String processName)StringgetMemoryInformation(String processName)StringgetSummary(String processName)StringgetThreadDump(String processName)voidpostDeregister()voidpostRegister(Boolean registrationDone)voidpreDeregister()ObjectNamepreRegister(MBeanServer server, ObjectName name)-
Methods inherited from class javax.management.StandardMBean
cacheMBeanInfo, getAttribute, getAttributes, getCachedMBeanInfo, getClassName, getConstructors, getDescription, getDescription, getDescription, getDescription, getDescription, getDescription, getDescription, getImpact, getImplementation, getImplementationClass, getMBeanInfo, getMBeanInterface, getParameterName, getParameterName, invoke, setAttribute, setAttributes, setImplementation
-
-
-
-
Constructor Detail
-
JVMInformationCollector
public JVMInformationCollector() throws NotCompliantMBeanException- Throws:
NotCompliantMBeanException
-
-
Method Detail
-
getThreadDump
public String getThreadDump(String processName)
- Specified by:
getThreadDumpin interfaceJVMInformationMBean
-
getSummary
public String getSummary(String processName)
- Specified by:
getSummaryin interfaceJVMInformationMBean
-
getMemoryInformation
public String getMemoryInformation(String processName)
- Specified by:
getMemoryInformationin interfaceJVMInformationMBean
-
getClassInformation
public String getClassInformation(String processName)
- Specified by:
getClassInformationin interfaceJVMInformationMBean
-
getLogInformation
public String getLogInformation(String processName)
- Specified by:
getLogInformationin interfaceJVMInformationMBean
-
postRegister
public void postRegister(Boolean registrationDone)
- Specified by:
postRegisterin interfaceMBeanRegistration- Overrides:
postRegisterin classStandardMBean
-
preRegister
public ObjectName preRegister(MBeanServer server, ObjectName name) throws Exception
- Specified by:
preRegisterin interfaceMBeanRegistration- Overrides:
preRegisterin classStandardMBean- Throws:
Exception
-
preDeregister
public void preDeregister() throws Exception- Specified by:
preDeregisterin interfaceMBeanRegistration- Overrides:
preDeregisterin classStandardMBean- Throws:
Exception
-
postDeregister
public void postDeregister()
- Specified by:
postDeregisterin interfaceMBeanRegistration- Overrides:
postDeregisterin classStandardMBean
-
-