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 String
getClassInformation(String processName)
String
getLogInformation(String processName)
String
getMemoryInformation(String processName)
String
getSummary(String processName)
String
getThreadDump(String processName)
void
postDeregister()
void
postRegister(Boolean registrationDone)
void
preDeregister()
ObjectName
preRegister(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:
getThreadDump
in interfaceJVMInformationMBean
-
getSummary
public String getSummary(String processName)
- Specified by:
getSummary
in interfaceJVMInformationMBean
-
getMemoryInformation
public String getMemoryInformation(String processName)
- Specified by:
getMemoryInformation
in interfaceJVMInformationMBean
-
getClassInformation
public String getClassInformation(String processName)
- Specified by:
getClassInformation
in interfaceJVMInformationMBean
-
getLogInformation
public String getLogInformation(String processName)
- Specified by:
getLogInformation
in interfaceJVMInformationMBean
-
postRegister
public void postRegister(Boolean registrationDone)
- Specified by:
postRegister
in interfaceMBeanRegistration
- Overrides:
postRegister
in classStandardMBean
-
preRegister
public ObjectName preRegister(MBeanServer server, ObjectName name) throws Exception
- Specified by:
preRegister
in interfaceMBeanRegistration
- Overrides:
preRegister
in classStandardMBean
- Throws:
Exception
-
preDeregister
public void preDeregister() throws Exception
- Specified by:
preDeregister
in interfaceMBeanRegistration
- Overrides:
preDeregister
in classStandardMBean
- Throws:
Exception
-
postDeregister
public void postDeregister()
- Specified by:
postDeregister
in interfaceMBeanRegistration
- Overrides:
postDeregister
in classStandardMBean
-
-