com.sun.enterprise.v3.admin.commands
Class JVMInformationCollector

java.lang.Object
  extended by javax.management.StandardMBean
      extended by com.sun.enterprise.v3.admin.commands.JVMInformationCollector
All Implemented Interfaces:
JVMInformationMBean, DynamicMBean, MBeanRegistration

public class JVMInformationCollector
extends StandardMBean
implements JVMInformationMBean, MBeanRegistration


Constructor Summary
JVMInformationCollector()
           
 
Method Summary
 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JVMInformationCollector

public JVMInformationCollector()
                        throws NotCompliantMBeanException
Throws:
NotCompliantMBeanException
Method Detail

getThreadDump

public String getThreadDump(String processName)
Specified by:
getThreadDump in interface JVMInformationMBean

getSummary

public String getSummary(String processName)
Specified by:
getSummary in interface JVMInformationMBean

getMemoryInformation

public String getMemoryInformation(String processName)
Specified by:
getMemoryInformation in interface JVMInformationMBean

getClassInformation

public String getClassInformation(String processName)
Specified by:
getClassInformation in interface JVMInformationMBean

getLogInformation

public String getLogInformation(String processName)
Specified by:
getLogInformation in interface JVMInformationMBean

postRegister

public void postRegister(Boolean registrationDone)
Specified by:
postRegister in interface MBeanRegistration
Overrides:
postRegister in class StandardMBean

preRegister

public ObjectName preRegister(MBeanServer server,
                              ObjectName name)
                       throws Exception
Specified by:
preRegister in interface MBeanRegistration
Overrides:
preRegister in class StandardMBean
Throws:
Exception

preDeregister

public void preDeregister()
                   throws Exception
Specified by:
preDeregister in interface MBeanRegistration
Overrides:
preDeregister in class StandardMBean
Throws:
Exception

postDeregister

public void postDeregister()
Specified by:
postDeregister in interface MBeanRegistration
Overrides:
postDeregister in class StandardMBean


Copyright © 2012. All Rights Reserved.