Please note that this documentation is not final and is subject to change.

Java™ Platform
Standard Ed. 7

DRAFT ea-b76

Uses of Interface
javax.management.MBeanServer

Packages that use MBeanServer
Package Description
java.lang.management Provides the management interface for monitoring and management of the Java virtual machine as well as the operating system on which the Java virtual machine is running. 
javax.management Provides the core classes for the Java Management Extensions. 
javax.management.event Defines the Event Service, which provides extended support for JMX notifications. 
javax.management.loading Provides the classes which implement advanced dynamic loading. 
javax.management.modelmbean Provides the definition of the ModelMBean classes. 
javax.management.monitor Provides the definition of the monitor classes. 
javax.management.namespace The javax.management.namespace package makes it possible to federate MBeanServers into a hierarchical name space. 
javax.management.relation Provides the definition of the Relation Service. 
javax.management.remote Interfaces for remote access to JMX MBean servers. 
javax.management.remote.rmi The RMI connector is a connector for the JMX Remote API that uses RMI to transmit client requests to a remote MBean server. 
javax.management.timer Provides the definition of the Timer MBean. 
 

Uses of MBeanServer in java.lang.management
 

Methods in java.lang.management that return MBeanServer
Modifier and Type Method and Description
static MBeanServer ManagementFactory.getPlatformMBeanServer()
          Returns the platform MBeanServer.
 

Uses of MBeanServer in javax.management
 

Methods in javax.management that return MBeanServer
Modifier and Type Method and Description
static MBeanServer MBeanServerFactory.createMBeanServer()
          Return a new object implementing the MBeanServer interface with a standard default domain name.
static MBeanServer MBeanServerFactory.createMBeanServer(String domain)
          Return a new object implementing the MBeanServer interface with the specified default domain name.
static MBeanServer MBeanServerFactory.createNamedMBeanServer(String mbeanServerName, String domain)
          Return a new object implementing the MBeanServer interface with the specified MBean Server name and default domain name.
static MBeanServer QueryEval.getMBeanServer()
          Return the MBean server that was most recently given to the setMBeanServer method by this thread.
static MBeanServer MBeanServerFactory.newMBeanServer()
          Return a new object implementing the MBeanServer interface with a standard default domain name, without keeping an internal reference to this new object.
static MBeanServer MBeanServerFactory.newMBeanServer(String domain)
          Return a new object implementing the MBeanServer interface with the specified default domain name, without keeping an internal reference to this new object.
 MBeanServer MBeanServerBuilder.newMBeanServer(String defaultDomain, MBeanServer outer, MBeanServerDelegate delegate)
          This method creates a new MBeanServer implementation object.
static MBeanServer MBeanServerFactory.newNamedMBeanServer(String mbeanServerName, String domain)
          Return a new object implementing the MBeanServer interface with the specified MBean server name and default domain name, without keeping an internal reference to this new object.
static MBeanServer ClientContext.withContext(MBeanServer mbs, String key, String value)
          Return an MBeanServer object that is equivalent to the given MBeanServer object except that operations on MBeans run with the given key bound to the given value in their thread context.
static MBeanServer ClientContext.withLocale(MBeanServer mbs, Locale locale)
          Return an MBeanServer object that is equivalent to the given MBeanServer object except that operations on MBeans run with the given Locale in their thread context.
 

Methods in javax.management that return types with arguments of type MBeanServer
Modifier and Type Method and Description
static ArrayList<MBeanServer> MBeanServerFactory.findMBeanServer(String agentId)
          Return a list of registered MBeanServer objects.
static List<MBeanServer> MBeanServerFactory.findMBeanServerByName(String mbeanServerName)
          Returns a list of registered MBeanServer objects with the given name.
 

Methods in javax.management with parameters of type MBeanServer
Modifier and Type Method and Description
static ClassLoaderRepository MBeanServerFactory.getClassLoaderRepository(MBeanServer server)
          Return the ClassLoaderRepository used by the given MBeanServer.
static String MBeanServerFactory.getMBeanServerName(MBeanServer server)
          Returns the name of the MBeanServer embedded in the MBeanServerId of the given server.
static MBeanServerForwarder ClientContext.newContextForwarder(MBeanServer nextMBS, MBeanServer loopMBS)
          Create a new MBeanServerForwarder that applies the context received from a client to the current thread.
static MBeanServerForwarder ClientContext.newLocalizeMBeanInfoForwarder(MBeanServer mbs)
          Create a new MBeanServerForwarder that localizes descriptions in MBeanInfo instances returned by getMBeanInfo.
 MBeanServer MBeanServerBuilder.newMBeanServer(String defaultDomain, MBeanServer outer, MBeanServerDelegate delegate)
          This method creates a new MBeanServer implementation object.
 ObjectName StandardMBean.preRegister(MBeanServer server, ObjectName name)
          Allows the MBean to perform any operations it needs before being registered in the MBean server.
 ObjectName MBeanRegistration.preRegister(MBeanServer server, ObjectName name)
          Allows the MBean to perform any operations it needs before being registered in the MBean Server.
static void MBeanServerFactory.releaseMBeanServer(MBeanServer mbeanServer)
          Remove internal MBeanServerFactory references to a created MBeanServer.
 void ValueExp.setMBeanServer(MBeanServer s)
          Deprecated. This method is not needed because a ValueExp can access the MBean server in which it is being evaluated by using QueryEval.getMBeanServer().
 void StringValueExp.setMBeanServer(MBeanServer s)
          Deprecated. 
 void QueryExp.setMBeanServer(MBeanServer s)
          Sets the MBean server on which the query is to be performed.
 void QueryEval.setMBeanServer(MBeanServer s)
          Sets the MBean server on which the query is to be performed.
 void ObjectName.setMBeanServer(MBeanServer mbs)
           
 void AttributeValueExp.setMBeanServer(MBeanServer s)
          Deprecated. This method has no effect. The MBean Server used to obtain an attribute value is QueryEval.getMBeanServer().
static MBeanServer ClientContext.withContext(MBeanServer mbs, String key, String value)
          Return an MBeanServer object that is equivalent to the given MBeanServer object except that operations on MBeans run with the given key bound to the given value in their thread context.
static MBeanServer ClientContext.withLocale(MBeanServer mbs, Locale locale)
          Return an MBeanServer object that is equivalent to the given MBeanServer object except that operations on MBeans run with the given Locale in their thread context.
 

Uses of MBeanServer in javax.management.event
 

Methods in javax.management.event with parameters of type MBeanServer
Modifier and Type Method and Description
static EventClientDelegate EventClientDelegate.getEventClientDelegate(MBeanServer server)
          Returns an EventClientDelegate instance for the given MBeanServer.
static EventSubscriber EventSubscriber.getEventSubscriber(MBeanServer mbs)
          Returns an EventSubscriber object to subscribe for notifications from the given MBeanServer.
static MBeanServerForwarder EventClientDelegate.newForwarder(MBeanServer nextMBS, MBeanServer loopMBS)
          Create a new MBeanServerForwarder that simulates the existence of an EventClientDelegateMBean with the default name.
 

Uses of MBeanServer in javax.management.loading
 

Methods in javax.management.loading with parameters of type MBeanServer
Modifier and Type Method and Description
 ObjectName MLet.preRegister(MBeanServer server, ObjectName name)
          Allows the m-let to perform any operations it needs before being registered in the MBean server.
 

Uses of MBeanServer in javax.management.modelmbean
 

Methods in javax.management.modelmbean with parameters of type MBeanServer
Modifier and Type Method and Description
 ObjectName RequiredModelMBean.preRegister(MBeanServer server, ObjectName name)
          Allows the MBean to perform any operations it needs before being registered in the MBean server.
 

Uses of MBeanServer in javax.management.monitor
 

Fields in javax.management.monitor declared as MBeanServer
Modifier and Type Field and Description
protected  MBeanServer Monitor.server
          Reference to the MBean server.
 

Methods in javax.management.monitor with parameters of type MBeanServer
Modifier and Type Method and Description
 ObjectName Monitor.preRegister(MBeanServer server, ObjectName name)
          Allows the monitor MBean to perform any operations it needs before being registered in the MBean server.
 

Uses of MBeanServer in javax.management.namespace
 

Classes in javax.management.namespace that implement MBeanServer
Modifier and Type Class and Description
 class MBeanServerConnectionWrapper
          An object of this class implements the MBeanServer interface and, for each of its methods forwards the request to a wrapped MBeanServerConnection object.
 class MBeanServerSupport
          Base class for custom implementations of the MBeanServer interface.
 

Methods in javax.management.namespace that return MBeanServer
Modifier and Type Method and Description
 MBeanServer JMXNamespace.getMBeanServer()
          Returns the MBeanServer in which this MBean is registered, or null.
 MBeanServer JMXNamespace.getSourceServer()
          Returns the MBeanServer that contains or emulates the source namespace.
static MBeanServer JMXNamespaces.narrowToNamespace(MBeanServer parent, String namespace)
          Creates a new MBeanServer proxy on a sub name space of the given parent.
 

Methods in javax.management.namespace with parameters of type MBeanServer
Modifier and Type Method and Description
static MBeanServer JMXNamespaces.narrowToNamespace(MBeanServer parent, String namespace)
          Creates a new MBeanServer proxy on a sub name space of the given parent.
 ObjectName JMXNamespace.preRegister(MBeanServer server, ObjectName name)
          This method is part of the MBeanRegistration interface.
 

Constructors in javax.management.namespace with parameters of type MBeanServer
Constructor and Description
JMXDomain(MBeanServer virtualServer)
          Creates a new instance of JMXDomain.
JMXNamespace(MBeanServer sourceServer)
          Creates a new JMXNamespace implemented by means of an MBean Server.
 

Uses of MBeanServer in javax.management.relation
 

Methods in javax.management.relation with parameters of type MBeanServer
Modifier and Type Method and Description
 ObjectName RelationSupport.preRegister(MBeanServer server, ObjectName name)
           
 ObjectName RelationService.preRegister(MBeanServer server, ObjectName name)
           
 

Constructors in javax.management.relation with parameters of type MBeanServer
Constructor and Description
RelationSupport(String relationId, ObjectName relationServiceName, MBeanServer relationServiceMBeanServer, String relationTypeName, RoleList list)
          Creates a RelationSupport object.
 

Uses of MBeanServer in javax.management.remote
 

Subinterfaces of MBeanServer in javax.management.remote
Modifier and Type Interface and Description
 interface MBeanServerForwarder
          An object of this class implements the MBeanServer interface and wraps another object that also implements that interface.
 

Classes in javax.management.remote that implement MBeanServer
Modifier and Type Class and Description
 class IdentityMBeanServerForwarder
          An MBeanServerForwarder that forwards all MBeanServer operations unchanged to the next MBeanServer in the chain.
 

Methods in javax.management.remote that return MBeanServer
Modifier and Type Method and Description
 MBeanServer IdentityMBeanServerForwarder.getMBeanServer()
           
 MBeanServer MBeanServerForwarder.getMBeanServer()
          Returns the MBeanServer object to which requests will be forwarded.
 MBeanServer JMXConnectorServer.getMBeanServer()
          Returns the MBean server that this connector server is attached to, or the first in a chain of user-added MBeanServerForwarders, if any.
 

Methods in javax.management.remote with parameters of type MBeanServer
Modifier and Type Method and Description
 JMXConnectorServer JMXConnectorServerProvider.newJMXConnectorServer(JMXServiceURL serviceURL, Map<String,?> environment, MBeanServer mbeanServer)
          Creates a new connector server at the given address.
static JMXConnectorServer JMXConnectorServerFactory.newJMXConnectorServer(JMXServiceURL serviceURL, Map<String,?> environment, MBeanServer mbeanServer)
          Creates a connector server at the given address.
 ObjectName JMXConnectorServer.preRegister(MBeanServer mbs, ObjectName name)
          Called by an MBean server when this connector server is registered in that MBean server.
 void IdentityMBeanServerForwarder.setMBeanServer(MBeanServer mbs)
           
 void MBeanServerForwarder.setMBeanServer(MBeanServer mbs)
          Sets the MBeanServer object to which requests will be forwarded after treatment by this object.
 

Constructors in javax.management.remote with parameters of type MBeanServer
Constructor and Description
IdentityMBeanServerForwarder(MBeanServer next)
          Construct a forwarder that forwards to the given MBeanServer.
JMXConnectorServer(MBeanServer mbeanServer)
          Constructs a connector server that is attached to the given MBean server.
 

Uses of MBeanServer in javax.management.remote.rmi
 

Methods in javax.management.remote.rmi that return MBeanServer
Modifier and Type Method and Description
 MBeanServer RMIServerImpl.getMBeanServer()
          The MBeanServer to which this connector server is attached.
 

Methods in javax.management.remote.rmi with parameters of type MBeanServer
Modifier and Type Method and Description
 void RMIServerImpl.setMBeanServer(MBeanServer mbs)
          Sets the MBeanServer to which this connector server is attached.
 

Constructors in javax.management.remote.rmi with parameters of type MBeanServer
Constructor and Description
RMIConnectorServer(JMXServiceURL url, Map<String,?> environment, MBeanServer mbeanServer)
          Makes an RMIConnectorServer for the given MBean server.
RMIConnectorServer(JMXServiceURL url, Map<String,?> environment, RMIServerImpl rmiServerImpl, MBeanServer mbeanServer)
          Makes an RMIConnectorServer for the given MBean server.
 

Uses of MBeanServer in javax.management.timer
 

Methods in javax.management.timer with parameters of type MBeanServer
Modifier and Type Method and Description
 ObjectName Timer.preRegister(MBeanServer server, ObjectName name)
          Allows the timer MBean to perform any operations it needs before being registered in the MBean server.
 


Java™ Platform
Standard Ed. 7

DRAFT ea-b76

Submit a bug or feature

Copyright 2009 Sun Microsystems, Inc. All Rights Reserved. Use is subject to license terms.