com.caucho.jmx
Class EnvironmentMBeanServer

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

public class EnvironmentMBeanServer
extends AbstractMBeanServer

JNDI object for the Resin mbean server.


Constructor Summary
EnvironmentMBeanServer(java.lang.String domain, javax.management.MBeanServerDelegate delegate)
          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(MBeanContext context, java.lang.ClassLoader loader)
          Returns the local context.
protected  void setCurrentContext(MBeanContext context, java.lang.ClassLoader loader)
          Sets 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, 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

EnvironmentMBeanServer

public EnvironmentMBeanServer(java.lang.String domain,
                              javax.management.MBeanServerDelegate delegate)
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)
Sets 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(MBeanContext context,
                             java.lang.ClassLoader loader)
Returns the local context.

Overrides:
removeContext in class AbstractMBeanServer

toString

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

Overrides:
toString in class AbstractMBeanServer