com.caucho.jmx
Class LocalMBeanServer

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

public class LocalMBeanServer
extends AbstractMBeanServer

JNDI object for the Resin mbean server.


Constructor Summary
LocalMBeanServer()
          Creates an MBeanServerProxy based on the context class loader.
LocalMBeanServer(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  void removeContext(java.lang.ClassLoader loader, MBeanContext context)
          Returns the local context.
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, getView, 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

LocalMBeanServer

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


LocalMBeanServer

public LocalMBeanServer(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

removeContext

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


toString

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

Overrides:
toString in class AbstractMBeanServer