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.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.
|
Modifier and Type | Method | Description |
---|---|---|
static <T extends PlatformManagedObject> |
ManagementFactory.getPlatformMXBean(MBeanServerConnection connection,
Class<T> mxbeanInterface) |
Returns the platform MXBean proxy for
mxbeanInterface which is specified to have one single
instance in a Java virtual machine and the proxy will
forward the method calls through the given MBeanServerConnection . |
static <T extends PlatformManagedObject> |
ManagementFactory.getPlatformMXBeans(MBeanServerConnection connection,
Class<T> mxbeanInterface) |
Returns the list of the platform MXBean proxies for
forwarding the method calls of the
mxbeanInterface
through the given MBeanServerConnection . |
static <T> T |
ManagementFactory.newPlatformMXBeanProxy(MBeanServerConnection connection,
String mxbeanName,
Class<T> mxbeanInterface) |
Returns a proxy for a platform MXBean interface of a
given MXBean name
that forwards its method calls through the given
MBeanServerConnection . |
Modifier and Type | Interface | Description |
---|---|---|
interface |
MBeanServer |
This is the interface for MBean manipulation on the agent
side.
|
Modifier and Type | Method | Description |
---|---|---|
MBeanServerConnection |
MBeanServerInvocationHandler.getMBeanServerConnection() |
The MBean server connection through which the methods of
a proxy using this handler are forwarded.
|
Modifier and Type | Method | Description |
---|---|---|
static <T> T |
JMX.newMBeanProxy(MBeanServerConnection connection,
ObjectName objectName,
Class<T> interfaceClass) |
Make a proxy for a Standard MBean in a local or remote
MBean Server.
|
static <T> T |
JMX.newMBeanProxy(MBeanServerConnection connection,
ObjectName objectName,
Class<T> interfaceClass,
boolean notificationEmitter) |
Make a proxy for a Standard MBean in a local or remote MBean
Server that may also support the methods of
NotificationEmitter . |
static <T> T |
JMX.newMXBeanProxy(MBeanServerConnection connection,
ObjectName objectName,
Class<T> interfaceClass) |
Make a proxy for an MXBean in a local or remote MBean Server.
|
static <T> T |
JMX.newMXBeanProxy(MBeanServerConnection connection,
ObjectName objectName,
Class<T> interfaceClass,
boolean notificationEmitter) |
Make a proxy for an MXBean in a local or remote MBean
Server that may also support the methods of
NotificationEmitter . |
static <T> T |
MBeanServerInvocationHandler.newProxyInstance(MBeanServerConnection connection,
ObjectName objectName,
Class<T> interfaceClass,
boolean notificationBroadcaster) |
Return a proxy that implements the given interface by
forwarding its methods through the given MBean server to the
named MBean.
|
Constructor | Description |
---|---|
MBeanServerInvocationHandler(MBeanServerConnection connection,
ObjectName objectName) |
Invocation handler that forwards methods through an MBean
server to a Standard MBean.
|
MBeanServerInvocationHandler(MBeanServerConnection connection,
ObjectName objectName,
boolean isMXBean) |
Invocation handler that can forward methods through an MBean
server to a Standard MBean or MXBean.
|
Modifier and Type | Interface | 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 | Description |
---|---|---|
MBeanServerConnection |
JMXConnector.getMBeanServerConnection() |
Returns an
MBeanServerConnection object
representing a remote MBean server. |
MBeanServerConnection |
JMXConnector.getMBeanServerConnection(Subject delegationSubject) |
Returns an
MBeanServerConnection object representing
a remote MBean server on which operations are performed on behalf of
the supplied delegation subject. |
Modifier and Type | Method | Description |
---|---|---|
MBeanServerConnection |
RMIConnector.getMBeanServerConnection() |
|
MBeanServerConnection |
RMIConnector.getMBeanServerConnection(Subject delegationSubject) |
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, 2016, Oracle and/or its affiliates. All rights reserved.
DRAFT 9-Ubuntu+0-9b143-1ubuntu1