FileDocCategorySizeDatePackage
JVMMonitorImpl.javaAPI DocGlassfish v2 API2918Fri May 04 22:23:30 BST 2007com.sun.enterprise.management.monitor

JVMMonitorImpl

public final class JVMMonitorImpl extends MonitoringStatsImplBase

Fields Summary
Constructors Summary
public JVMMonitorImpl(com.sun.enterprise.management.support.Delegate delegate)

		super( XTypes.JVM_MONITOR, delegate );
	
Methods Summary
public javax.management.j2ee.statistics.JVMStatsgetJVMStats()

		return (JVMStats)getStats();
	
protected java.lang.ClassgetStatsInterface()

		return( JVMStats.class );
	
protected final voidinitStatisticNameMapper()

		super.initStatisticNameMapper();
		
		final AttributeNameMapper	m	= getStatisticNameMapper();
		
		// see JSR77.6.31; our old MBean uses the wrong field names (bug)
		m.addMapping( "JvmHeapSize", "HeapSize" );
		m.addMapping( "JvmUpTime", "UpTime" );