Package | Description |
---|---|
java.lang.management |
Provides the management interfaces for monitoring and management of the
Java virtual machine and other components in the Java runtime.
|
javax.management |
Provides the core classes for the Java Management Extensions.
|
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.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.
|
Modifier and Type | Method and Description |
---|---|
static MBeanServer |
ManagementFactory.getPlatformMBeanServer()
Returns the platform
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 |
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.
|
Modifier and Type | Method and Description |
---|---|
static ArrayList<MBeanServer> |
MBeanServerFactory.findMBeanServer(String agentId)
Return a list of registered MBeanServer objects.
|
Modifier and Type | Method and Description |
---|---|
static ClassLoaderRepository |
MBeanServerFactory.getClassLoaderRepository(MBeanServer server)
Return the ClassLoaderRepository used by the given MBeanServer.
|
MBeanServer |
MBeanServerBuilder.newMBeanServer(String defaultDomain,
MBeanServer outer,
MBeanServerDelegate delegate)
This method creates a new MBeanServer implementation object.
|
ObjectName |
MBeanRegistration.preRegister(MBeanServer server,
ObjectName name)
Allows the MBean to perform any operations it needs before
being registered in the MBean Server.
|
ObjectName |
StandardMBean.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 |
StringValueExp.setMBeanServer(MBeanServer s)
Deprecated.
|
void |
QueryEval.setMBeanServer(MBeanServer s)
Sets the MBean server on which the query is to be performed.
|
void |
QueryExp.setMBeanServer(MBeanServer s)
Sets the MBean server on which the query is to be performed.
|
void |
ObjectName.setMBeanServer(MBeanServer mbs) |
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 |
AttributeValueExp.setMBeanServer(MBeanServer s)
Deprecated.
This method has no effect. The MBean Server used to
obtain an attribute value is
QueryEval.getMBeanServer() . |
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.
|
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.
|
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.
|
Modifier and Type | Method and Description |
---|---|
ObjectName |
RelationService.preRegister(MBeanServer server,
ObjectName name) |
ObjectName |
RelationSupport.preRegister(MBeanServer server,
ObjectName name) |
Constructor and Description |
---|
RelationSupport(String relationId,
ObjectName relationServiceName,
MBeanServer relationServiceMBeanServer,
String relationTypeName,
RoleList list)
Creates a
RelationSupport object. |
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 | Method and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
static JMXConnectorServer |
JMXConnectorServerFactory.newJMXConnectorServer(JMXServiceURL serviceURL,
Map<String,?> environment,
MBeanServer mbeanServer)
Creates a connector server at the given address.
|
JMXConnectorServer |
JMXConnectorServerProvider.newJMXConnectorServer(JMXServiceURL serviceURL,
Map<String,?> environment,
MBeanServer mbeanServer)
Creates a new 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 |
MBeanServerForwarder.setMBeanServer(MBeanServer mbs)
Sets the MBeanServer object to which requests will be forwarded
after treatment by this object.
|
Constructor and Description |
---|
JMXConnectorServer(MBeanServer mbeanServer)
Constructs a connector server that is attached to the given
MBean server.
|
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. |
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.
|
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2024, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.