com.caucho.jmx
Class GlobalMBeanServer

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

public class GlobalMBeanServer
extends AbstractMBeanServer
implements java.io.Serializable

JNDI object for the Resin mbean server.

See Also:
Serialized Form

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 createContext(java.lang.ClassLoader loader)
          Returns the local context.
protected  MBeanContext getContext(java.lang.ClassLoader loader)
          Returns the local context.
protected  MBeanContext getCurrentContext(java.lang.ClassLoader loader)
          Returns the local context.
protected  MBeanView getView()
          Returns the local view.
protected  void setCurrentContext(MBeanContext context, java.lang.ClassLoader loader)
          Returns the local context.
 java.lang.String toString()
          Returns the string form.
 
Methods inherited from class com.caucho.jmx.AbstractMBeanServer
addNotificationListener, addNotificationListener, createContext, createMBean, createMBean, createMBean, createMBean, deserialize, deserialize, deserialize, destroy, getAttribute, getAttributes, getClassLoader, getClassLoaderFor, getClassLoaderRepository, getCurrentContext, getDefaultDomain, getDomains, 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

createContext

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

Specified by:
createContext in class AbstractMBeanServer

getCurrentContext

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

Specified by:
getCurrentContext in class AbstractMBeanServer

setCurrentContext

protected void setCurrentContext(MBeanContext context,
                                 java.lang.ClassLoader loader)
Returns the local context.

Specified by:
setCurrentContext in class AbstractMBeanServer

getContext

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

Specified by:
getContext 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