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

MBeanServerConnection_Debug

public class MBeanServerConnection_Debug extends MBeanServerConnection_Hook
This class allows use of MBeanServerConnection methods with ObjectName patterns that resolve to a single MBean. This is useful to avoid hard-coupling to specific ObjectNames; instead an ObjectName pattern may be used which resolves to a single MBean. For example, if you know the 'name' property is unique (at least for your MBean), you could use the ObjectName "*:name=myname,*" instead of a possibly much longer and complicated name (which potentially could change each time the MBean is registered).

Fields Summary
final MBeanServerConnection_Hook.Hook
mHook
final com.sun.appserv.management.util.misc.DebugState
mDebugState
final com.sun.appserv.management.util.misc.Output
mOutput
private static final Object[]
EMPTY_ARRAY
Constructors Summary
public MBeanServerConnection_Debug(MBeanServerConnection impl, com.sun.appserv.management.util.misc.DebugState debugState, com.sun.appserv.management.util.misc.Output output)

		super( impl );
		
		mDebugState	= debugState;
		mOutput		= output;
		mHook		= new DebugHook();
	
Methods Summary
final com.sun.appserv.management.util.misc.DebugStategetDebugState()

		return( mDebugState );
	
HookgetHook()

		return( mHook );