Java EE 5 SDK

com.sun.appserv.management.util.jmx
Class MBeanServerConnection_Debug

java.lang.Object
  extended by com.sun.appserv.management.util.jmx.MBeanServerConnection_Hook
      extended by com.sun.appserv.management.util.jmx.MBeanServerConnection_Debug
All Implemented Interfaces:
MBeanServerConnection

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).


Nested Class Summary
 
Nested classes/interfaces inherited from class com.sun.appserv.management.util.jmx.MBeanServerConnection_Hook
MBeanServerConnection_Hook.Hook, MBeanServerConnection_Hook.HookImpl
 
Field Summary
 
Fields inherited from class com.sun.appserv.management.util.jmx.MBeanServerConnection_Hook
ADD_NOTIFICATION_LISTENER, CREATE_MBEAN, GET_ATTRIBUTE, GET_ATTRIBUTES, GET_DEFAULT_DOMAIN, GET_DOMAINS, GET_MBEAN_COUNT, GET_MBEAN_INFO, GET_OBJECT_INSTANCE, INVOKE, IS_INSTANCE_OF, IS_REGISTERED, QUERY_MBEANS, QUERY_NAMES, REGISTER_MBEAN, REMOVE_NOTIFICATION_LISTENER, SET_ATTRIBUTE, SET_ATTRIBUTES, UNREGISTER_MBEAN
 
Constructor Summary
MBeanServerConnection_Debug(MBeanServerConnection impl, DebugState debugState, Output output)
           
 
Method Summary
 
Methods inherited from class com.sun.appserv.management.util.jmx.MBeanServerConnection_Hook
addNotificationListener, addNotificationListener, createMBean, createMBean, createMBean, createMBean, getAttribute, getAttributes, getDefaultDomain, getDomains, getMBeanCount, getMBeanInfo, getObjectInstance, invoke, isInstanceOf, isRegistered, queryMBeans, queryNames, removeNotificationListener, removeNotificationListener, removeNotificationListener, removeNotificationListener, setAttribute, setAttributes, unregisterMBean
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MBeanServerConnection_Debug

public MBeanServerConnection_Debug(MBeanServerConnection impl,
                                   DebugState debugState,
                                   Output output)

Java EE 5 SDK

Submit a bug or feature

Copyright 2006 Sun Microsystems, Inc. All rights reserved.