|
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.namespace | The javax.management.namespace package makes it possible
to federate MBeanServers into a hierarchical name space. |
| 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. |
| Uses of MBeanServerConnection in java.lang.management |
|---|
| Modifier and Type | Method and Description | |
|---|---|---|
static
|
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
|
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. |
| Uses of MBeanServerConnection in javax.management |
|---|
| Modifier and Type | Interface and Description |
|---|---|
interface |
MBeanServer
This is the interface for MBean manipulation on the agent side. |
| Modifier and Type | Method and Description |
|---|---|
MBeanServerConnection |
MBeanServerInvocationHandler.getMBeanServerConnection()
The MBean server connection through which the methods of a proxy using this handler are forwarded. |
static MBeanServerConnection |
ClientContext.withContext(MBeanServerConnection mbsc,
String key,
String value)
Return an MBeanServerConnection object that is equivalent to the given MBeanServerConnection object except that operations on MBeans run with the given key bound to the given value in their thread context. |
static MBeanServerConnection |
ClientContext.withDynamicContext(MBeanServerConnection mbsc)
Returns an MBeanServerConnection object that is equivalent to the given MBeanServerConnection object except that remote operations on MBeans run with the context that has been established by the client using doWithContext. |
static MBeanServerConnection |
ClientContext.withLocale(MBeanServerConnection mbsc,
Locale locale)
Return an MBeanServerConnection object that is equivalent to the given MBeanServerConnection object except that operations on MBeans run with the given Locale in their thread context. |
| Modifier and Type | Method and Description | |
|---|---|---|
static String |
JMX.getSpecificationVersion(MBeanServerConnection mbsc,
ObjectName mbeanName)
Return the version of the JMX specification that a (possibly remote) MBean Server is using. |
|
static
|
JMX.newMBeanProxy(MBeanServerConnection connection,
ObjectName objectName,
Class<T> interfaceClass)
Make a proxy for a Standard MBean in a local or remote MBean Server. |
|
static
|
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
|
JMX.newMBeanProxy(MBeanServerConnection connection,
ObjectName objectName,
Class<T> interfaceClass,
JMX.MBeanOptions opts)
Make a proxy for a Standard MBean or MXBean in a local or remote MBean Server that may also support the methods of NotificationEmitter and (for an MXBean) that may define custom MXBean
type mappings. |
|
static
|
JMX.newMXBeanProxy(MBeanServerConnection connection,
ObjectName objectName,
Class<T> interfaceClass)
Make a proxy for an MXBean in a local or remote MBean Server. |
|
static
|
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
|
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. |
|
static MBeanServerConnection |
ClientContext.withContext(MBeanServerConnection mbsc,
String key,
String value)
Return an MBeanServerConnection object that is equivalent to the given MBeanServerConnection object except that operations on MBeans run with the given key bound to the given value in their thread context. |
|
static MBeanServerConnection |
ClientContext.withDynamicContext(MBeanServerConnection mbsc)
Returns an MBeanServerConnection object that is equivalent to the given MBeanServerConnection object except that remote operations on MBeans run with the context that has been established by the client using doWithContext. |
|
static MBeanServerConnection |
ClientContext.withLocale(MBeanServerConnection mbsc,
Locale locale)
Return an MBeanServerConnection object that is equivalent to the given MBeanServerConnection object except that operations on MBeans run with the given Locale in their thread context. |
| Constructor and 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. |
MBeanServerInvocationHandler(MBeanServerConnection connection,
ObjectName objectName,
JMX.MBeanOptions options)
|
| Uses of MBeanServerConnection in javax.management.event |
|---|
| Modifier and Type | Method and Description |
|---|---|
static MBeanServerConnection |
EventClient.getEventClientConnection(MBeanServerConnection conn)
Constructs an MBeanServerConnection that uses an EventClient object,
if the underlying connection has an EventClientDelegateMBean. |
static MBeanServerConnection |
EventClient.getEventClientConnection(MBeanServerConnection conn,
EventRelay eventRelay)
Constructs an MBeanServerConnection that uses an EventClient
object with a user-specific EventRelay
object. |
| Modifier and Type | Method and Description |
|---|---|
static MBeanServerConnection |
EventClient.getEventClientConnection(MBeanServerConnection conn)
Constructs an MBeanServerConnection that uses an EventClient object,
if the underlying connection has an EventClientDelegateMBean. |
static MBeanServerConnection |
EventClient.getEventClientConnection(MBeanServerConnection conn,
EventRelay eventRelay)
Constructs an MBeanServerConnection that uses an EventClient
object with a user-specific EventRelay
object. |
static EventClientDelegateMBean |
EventClientDelegate.getProxy(MBeanServerConnection conn)
Returns a proxy of the default EventClientDelegateMBean. |
| Constructor and Description |
|---|
EventClient(MBeanServerConnection conn)
Constructs a default EventClient object. |
| Uses of MBeanServerConnection 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 |
|---|---|
protected MBeanServerConnection |
MBeanServerConnectionWrapper.getMBeanServerConnection()
Returns an MBeanServerConnection. |
MBeanServerConnection |
JMXNamespaceView.getMBeanServerConnection()
A MBeanServerConnection to the namespace shown by this view. |
protected MBeanServerConnection |
JMXRemoteNamespace.getMBeanServerConnection(JMXConnector jmxc)
Called when a new connection is established using JMXRemoteNamespace.connect(javax.management.remote.JMXServiceURL, java.util.Map
so that subclasses can customize the connection. |
static MBeanServerConnection |
JMXNamespaces.narrowToNamespace(MBeanServerConnection parent,
String namespace)
Creates a new MBeanServerConnection proxy on a
sub name space
of the given parent. |
| Modifier and Type | Method and Description |
|---|---|
static MBeanServerConnection |
JMXNamespaces.narrowToNamespace(MBeanServerConnection parent,
String namespace)
Creates a new MBeanServerConnection proxy on a
sub name space
of the given parent. |
| Constructor and Description |
|---|
JMXNamespaceView(MBeanServerConnection namespaceRoot)
Creates a view at the top of a JMX namespace hierarchy. |
MBeanServerConnectionWrapper(MBeanServerConnection wrapped)
Construct a new object that implements MBeanServer by
forwarding its methods to the given MBeanServerConnection. |
MBeanServerConnectionWrapper(MBeanServerConnection wrapped,
ClassLoader defaultCl)
Construct a new object that implements MBeanServer by
forwarding its methods to the given MBeanServerConnection. |
| Uses of MBeanServerConnection 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 |
|---|---|
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. |
| Uses of MBeanServerConnection in javax.management.remote.rmi |
|---|
| Modifier and Type | Method and Description |
|---|---|
MBeanServerConnection |
RMIConnector.getMBeanServerConnection()
|
MBeanServerConnection |
RMIConnector.getMBeanServerConnection(Subject delegationSubject)
|
|
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.