src/main/java/com/tzavellas/poolng/jmx/JmxRegistrar.java
public void registerPool(ConnectionPool pool) throws JMException {
		Configuration cmx = new Configuration(pool.getConfiguration());
		PoolManagement mx = new PoolManagement(pool, cmx);
		server.registerMBean(mx, objectNameForPool(pool));
		server.registerMBean(cmx, objectNameForConfig(pool));
	}
/**
	 * Register the specified {@link ConnectionPool} in JMX.
	 * 
	 * <p>The ObjectName of the created MBeans is based on the name of
	 * the connection pool.
	 * 
	 * @see ConnectionPool#getName()
	 */
Register the specified  ConnectionPool in JMX.

The ObjectName of the created MBeans is based on the name of
the connection pool.


Register the specified ConnectionPool in JMX . The ObjectName of the created MBeans is based on the name of the connection pool .
public void registerPool(ConnectionPool pool) throws JMException {
		Configuration cmx = new Configuration(pool.getConfiguration());
		PoolManagement mx = new PoolManagement(pool, cmx);
		server.registerMBean(mx, objectNameForPool(pool));
		server.registerMBean(cmx, objectNameForConfig(pool));
	}
public void registerPool ( ConnectionPool pool ) throws JMException { Configuration cmx = new Configuration ( pool . getConfiguration ( ) ) ; PoolManagement mx = new PoolManagement ( pool , cmx ) ; server . registerMBean ( mx , objectNameForPool ( pool ) ) ; server . registerMBean ( cmx , objectNameForConfig ( pool ) ) ; }
Register the specified {@link ConnectionPool} in JMX.
Register the specified { @link ConnectionPool } in JMX .