FileDocCategorySizeDatePackage
MBeanServerConnectionSource.javaAPI DocGlassfish v2 API3271Fri May 04 22:31:04 BST 2007com.sun.appserv.management.util.jmx

MBeanServerConnectionSource

public final class MBeanServerConnectionSource extends Object implements com.sun.appserv.management.client.ConnectionSource
A ConnectionSource for in-process access where the MBeanServer is actually known and where later access to it may be desired.

Fields Summary
protected MBeanServer
mServer
Constructors Summary
public MBeanServerConnectionSource(MBeanServer server)
Create a new instance for the specified MBeanServer

		mServer	= server;
	
Methods Summary
public javax.management.MBeanServerConnectiongetExistingMBeanServerConnection()

		return( getMBeanServer() );
	
public javax.management.remote.JMXConnectorgetJMXConnector(boolean forceNew)

		// we can't supply one...
		return( null );
	
public javax.management.MBeanServergetMBeanServer()
Return the internal MBeanServer

		return( mServer );
	
public javax.management.MBeanServerConnectiongetMBeanServerConnection(boolean forceNew)

		return( getExistingMBeanServerConnection() );