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

ConnectionManagerMonitorImpl

public class ConnectionManagerMonitorImpl extends MonitoringStatsImplBase

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

		super( XTypes.CONNECTION_MANAGER_MONITOR, delegate );
	
Methods Summary
public com.sun.appserv.management.monitor.statistics.ConnectionManagerStatsgetConnectionManagerStats()

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

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

		super.initStatisticNameMapper();
		
		final AttributeNameMapper	m	= getStatisticNameMapper();
		
		// old MBean advertises one set of names, supplies another!
		m.addMapping( "NumberOfConnections", "TotalConnections" );
		m.addMapping( "NumberOfBusyConnections", "ConnectionsInUse" );
		m.addMapping( "NumberOfIdleConnections", "ConnectionsIdle" );