com.caucho.jmx
Class GlobalMBeanServer

java.lang.Object
  extended by com.caucho.jmx.AbstractMBeanServer
      extended by com.caucho.jmx.GlobalMBeanServer
All Implemented Interfaces:
javax.management.MBeanServer, javax.management.MBeanServerConnection

public class GlobalMBeanServer
extends AbstractMBeanServer

JNDI object for the Resin mbean server.


Constructor Summary
GlobalMBeanServer()
          Creates an MBeanServerProxy based on the context class loader.
GlobalMBeanServer(java.lang.ClassLoader loader)
          Creates an MBeanServerProxy based on the context class loader.
 
Method Summary
protected  MBeanContext getContext(java.lang.ClassLoader loader)
          Returns the local context.
protected  MBeanContext getExistingContext(java.lang.ClassLoader loader)
          Returns the local context.
protected  MBeanView getView()
          Returns the local view.
 java.lang.String toString()
          Returns the string form.
 
Methods inherited from class com.caucho.jmx.AbstractMBeanServer
addNotificationListener, addNotificationListener, createMBean, createMBean, createMBean, createMBean, deserialize, deserialize, deserialize, destroy, getAttribute, getAttributes, getClassLoader, getClassLoaderFor, getClassLoaderRepository, getContext, getDefaultDomain, getDomains, getExistingContext, getGlobalContext, getGlobalView, getMBeanCount, getMBeanInfo, getObjectInstance, getParentView, instantiate, instantiate, instantiate, instantiate, invoke, isInstanceOf, isRegistered, queryMBeans, queryNames, registerMBean, removeContext, removeNotificationListener, removeNotificationListener, removeNotificationListener, removeNotificationListener, setAttribute, setAttributes, unregisterMBean
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GlobalMBeanServer

public GlobalMBeanServer()
Creates an MBeanServerProxy based on the context class loader.


GlobalMBeanServer

public GlobalMBeanServer(java.lang.ClassLoader loader)
Creates an MBeanServerProxy based on the context class loader.

Method Detail

getContext

protected MBeanContext getContext(java.lang.ClassLoader loader)
Returns the local context.

Specified by:
getContext in class AbstractMBeanServer

getExistingContext

protected MBeanContext getExistingContext(java.lang.ClassLoader loader)
Returns the local context.

Specified by:
getExistingContext in class AbstractMBeanServer

getView

protected MBeanView getView()
Returns the local view.

Overrides:
getView in class AbstractMBeanServer

toString

public java.lang.String toString()
Returns the string form.

Overrides:
toString in class AbstractMBeanServer