FileDocCategorySizeDatePackage
JVMInformation.javaAPI DocGlassfish v2 API3672Fri May 04 22:24:10 BST 2007com.sun.enterprise.admin.mbeans.jvm

JVMInformation

public class JVMInformation extends Object implements JVMInformationMBean, MBeanRegistration

Fields Summary
private MBeanServerConnection
mbsc
Constructors Summary
public JVMInformation()
Creates a new instance of JVMInformation

           
      
    
Methods Summary
public java.lang.StringgetClassInformation(java.lang.String processName)

        final ClassReporter cr = new ClassReporter(mbsc);
        return ( cr.getClassReport() );
    
public java.lang.StringgetMemoryInformation(java.lang.String processName)

        final MemoryReporter mr = new MemoryReporter(mbsc);
        return ( mr.getMemoryReport() );
    
public java.lang.StringgetSummary(java.lang.String processName)

        final SummaryReporter sr = new SummaryReporter(mbsc);
        return ( sr.getSummaryReport() );
    
public java.lang.StringgetThreadDump(java.lang.String processName)

        final ThreadMonitor tm = new ThreadMonitor(mbsc);
        return ( tm.getThreadDump() );
    
public voidpostDeregister()

    
public voidpostRegister(java.lang.Boolean registrationDone)

    
public voidpreDeregister()

    
public javax.management.ObjectNamepreRegister(javax.management.MBeanServer server, javax.management.ObjectName name)

        this.mbsc = server;
        final String sn = System.getProperty(SystemPropertyConstants.SERVER_NAME);
        final ObjectName on = JVMInformationCollector.formObjectName(sn, JVMInformation.class.getSimpleName());
        return ( on );