|
Java™ Platform Standard Ed. 7 DRAFT ea-b76 |
|||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| 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 |
|---|
| Modifier and Type | Method and Description |
|---|---|
static MBeanServer |
ManagementFactory.getPlatformMBeanServer()
Returns the platform MBeanServer. |
| Uses of MBeanServer in javax.management |
|---|
| 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. |
| 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. |
| 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 |
|---|
| 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 |
|---|
| 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 |
|---|
| 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 |
|---|
| Modifier and Type | Field and Description |
|---|---|
protected MBeanServer |
Monitor.server
Reference to the MBean server. |
| 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 |
|---|
| 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. |
| 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. |
| 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. |
| 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 |
|---|
| Modifier and Type | Method and Description |
|---|---|
ObjectName |
RelationSupport.preRegister(MBeanServer server,
ObjectName name)
|
ObjectName |
RelationService.preRegister(MBeanServer server,
ObjectName name)
|
| 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 |
|---|
| 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. |
| Modifier and Type | Class and Description |
|---|---|
class |
IdentityMBeanServerForwarder
An MBeanServerForwarder that forwards all MBeanServer
operations unchanged to the next MBeanServer in the chain. |
| 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. |
| 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. |
| 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 |
|---|
| Modifier and Type | Method and Description |
|---|---|
MBeanServer |
RMIServerImpl.getMBeanServer()
The MBeanServer to which this connector server
is attached. |
| Modifier and Type | Method and Description |
|---|---|
void |
RMIServerImpl.setMBeanServer(MBeanServer mbs)
Sets the MBeanServer to which this connector
server is attached. |
| 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 |
|---|
| 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 |
|||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
Copyright 2009 Sun Microsystems, Inc. All Rights Reserved. Use is subject to license terms.