Uses of Interface
javax.management.MBeanServerConnection
Packages that use MBeanServerConnection
包
描述
This package contains the JConsole API.
Provides the management interfaces for monitoring and management of the
Java virtual machine and other components in the Java runtime.
Provides the core classes for the Java Management Extensions.
Interfaces for remote access to
JMX MBean servers.
The RMI connector is a connector for the JMX Remote API that
uses RMI to transmit client requests to a remote MBean server.
This package contains classes to control and monitor Flight Recorder over Java Management Extensions (JMX).
-
Uses of MBeanServerConnection in com.sun.tools.jconsole
Methods in com.sun.tools.jconsole that return MBeanServerConnection修饰符和类方法描述JConsoleContext.getMBeanServerConnection()
Returns theMBeanServerConnection
for the connection to an application. -
Uses of MBeanServerConnection in java.lang.management
Methods in java.lang.management with parameters of type MBeanServerConnection修饰符和类方法描述static <T extends PlatformManagedObject>
TManagementFactory.getPlatformMXBean
(MBeanServerConnection connection, Class<T> mxbeanInterface) Returns the platform MXBean proxy formxbeanInterface
which is specified to have one single instance in a Java virtual machine and the proxy will forward the method calls through the givenMBeanServerConnection
.static <T extends PlatformManagedObject>
List<T> ManagementFactory.getPlatformMXBeans
(MBeanServerConnection connection, Class<T> mxbeanInterface) Returns the list of the platform MXBean proxies for forwarding the method calls of themxbeanInterface
through the givenMBeanServerConnection
.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 givenMBeanServerConnection
. -
Uses of MBeanServerConnection in javax.management
Subinterfaces of MBeanServerConnection in javax.management修饰符和类Interface描述interface
This is the interface for MBean manipulation on the agent side.Methods in javax.management that return MBeanServerConnection修饰符和类方法描述MBeanServerInvocationHandler.getMBeanServerConnection()
The MBean server connection through which the methods of a proxy using this handler are forwarded.Methods in javax.management with parameters of type MBeanServerConnection修饰符和类方法描述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 ofNotificationEmitter
.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 ofNotificationEmitter
.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.Constructors in javax.management with parameters of type MBeanServerConnectionModifierConstructor描述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. -
Uses of MBeanServerConnection in javax.management.remote
Subinterfaces of MBeanServerConnection in javax.management.remote修饰符和类Interface描述interface
An object of this class implements the MBeanServer interface and wraps another object that also implements that interface.Methods in javax.management.remote that return MBeanServerConnection修饰符和类方法描述JMXConnector.getMBeanServerConnection()
Returns anMBeanServerConnection
object representing a remote MBean server.JMXConnector.getMBeanServerConnection
(Subject delegationSubject) Deprecated, for removal: This API element is subject to removal in a future version.This method supported the legacy Subject Delegation feature, and is only useful in conjunction with other APIs which are deprecated and subject to removal in a future release. -
Uses of MBeanServerConnection in javax.management.remote.rmi
Methods in javax.management.remote.rmi that return MBeanServerConnection修饰符和类方法描述RMIConnector.getMBeanServerConnection()
RMIConnector.getMBeanServerConnection
(Subject delegationSubject) -
Uses of MBeanServerConnection in jdk.management.jfr
Constructors in jdk.management.jfr with parameters of type MBeanServerConnectionModifierConstructor描述RemoteRecordingStream
(MBeanServerConnection connection) Creates an event stream that operates against aMBeanServerConnection
that has a registeredFlightRecorderMXBean
.RemoteRecordingStream
(MBeanServerConnection connection, Path directory) Creates an event stream that operates against aMBeanServerConnection
that has a registeredFlightRecorderMXBean
.