APIdia Launch Partner
Top Description Inners Fields Constructors Methods
java.lang.management

public Class ManagementFactory

extends Object
Class Inheritance
Annotations
@SuppressWarnings:doclint:reference
Imports
java.io.IOException, javax.management.DynamicMBean, .MBeanRegistrationException, .MBeanServer, .MBeanServerConnection, .MBeanServerFactory, .NotCompliantMBeanException, .NotificationEmitter, .ObjectName, .InstanceAlreadyExistsException, .InstanceNotFoundException, .MalformedObjectNameException, .StandardEmitterMBean, .StandardMBean, .JMX, java.util.ArrayList, .Collection, .Collections, .HashMap, .HashSet, .List, .Map, .Optional, .ServiceLoader, .Set, java.util.stream.Collectors, .Stream, sun.management.Util, sun.management.spi.PlatformMBeanProvider, .PlatformMBeanProvider.PlatformComponent

The ManagementFactory class is a factory class for getting managed beans for the Java platform. This class consists of static methods each of which returns one or more platform MXBeans representing the management interface of a component of the Java virtual machine.

Platform MXBeans

A platform MXBean is a managed bean that conforms to the JMX Instrumentation Specification and only uses a set of basic data types. A JMX management application and the platform MBeanServer can interoperate without requiring classes for MXBean specific data types. The data types being transmitted between the JMX connector server and the connector client are open types and this allows interoperation across versions. See the specification of MXBeans for details.

Each platform MXBean is a PlatformManagedObject and it has a unique ObjectName for registration in the platform MBeanServer as returned by by the getObjectName method.

An application can access a platform MXBean in the following ways:

1. Direct access to an MXBean interface

2. Indirect access to an MXBean interface via MBeanServer

The getPlatformManagementInterfaces method returns all management interfaces supported in the Java virtual machine including the standard management interfaces listed in the tables below as well as the management interfaces extended by the JDK implementation.

A Java virtual machine has a single instance of the following management interfaces:

The list of Management Interfaces and their single instances
Management Interface ObjectName
ClassLoadingMXBean java.lang:type=ClassLoading
MemoryMXBean java.lang:type=Memory
ThreadMXBean java.lang:type=Threading
RuntimeMXBean java.lang:type=Runtime
OperatingSystemMXBean java.lang:type=OperatingSystem
PlatformLoggingMXBean java.util.logging:type=Logging

A Java virtual machine has zero or a single instance of the following management interfaces.

The list of Management Interfaces and their single instances
Management Interface ObjectName
CompilationMXBean java.lang:type=Compilation

A Java virtual machine may have one or more instances of the following management interfaces.

The list of Management Interfaces and their single instances
Management Interface ObjectName
GarbageCollectorMXBean java.lang:type=GarbageCollector,name=collector's name
MemoryManagerMXBean java.lang:type=MemoryManager,name=manager's name
MemoryPoolMXBean java.lang:type=MemoryPool,name=pool's name
BufferPoolMXBean java.nio:type=BufferPool,name=pool name
Author
Mandy Chung
Since
1.5
See Also
JMX Specification, Ways to Access Management Metrics, javax.management.MXBean

Nested and Inner Type Summary

Modifier and TypeClass and Description
private static class

Field Summary

Modifier and TypeField and Description
public static final String
CLASS_LOADING_MXBEAN_NAME

String representation of the ObjectName for the ClassLoadingMXBean.

public static final String
COMPILATION_MXBEAN_NAME

String representation of the ObjectName for the CompilationMXBean.

public static final String
GARBAGE_COLLECTOR_MXBEAN_DOMAIN_TYPE

The domain name and the type key property in the ObjectName for a GarbageCollectorMXBean.

public static final String
MEMORY_MANAGER_MXBEAN_DOMAIN_TYPE

The domain name and the type key property in the ObjectName for a MemoryManagerMXBean.

public static final String
MEMORY_MXBEAN_NAME

String representation of the ObjectName for the MemoryMXBean.

public static final String
MEMORY_POOL_MXBEAN_DOMAIN_TYPE

The domain name and the type key property in the ObjectName for a MemoryPoolMXBean.

private static final String
public static final String
OPERATING_SYSTEM_MXBEAN_NAME

String representation of the ObjectName for the OperatingSystemMXBean.

private static MBeanServer
public static final String
RUNTIME_MXBEAN_NAME

String representation of the ObjectName for the RuntimeMXBean.

public static final String
THREAD_MXBEAN_NAME

String representation of the ObjectName for the ThreadMXBean.

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
private static void
addMXBean(final MBeanServer mbs, String name, final Object pmo)

public static ClassLoadingMXBean

Returns:

a ClassLoadingMXBean object for the Java virtual machine.
getClassLoadingMXBean
()

Returns the managed bean for the class loading system of the Java virtual machine.

public static CompilationMXBean

Returns:

a CompilationMXBean object for the Java virtual machine or null if the Java virtual machine has no compilation system.
getCompilationMXBean
()

Returns the managed bean for the compilation system of the Java virtual machine.

public static List<GarbageCollectorMXBean>

Returns:

a list of GarbageCollectorMXBean objects.
getGarbageCollectorMXBeans
()

Returns a list of GarbageCollectorMXBean objects in the Java virtual machine.

public static List<MemoryManagerMXBean>

Returns:

a list of MemoryManagerMXBean objects.
getMemoryManagerMXBeans
()

Returns a list of MemoryManagerMXBean objects in the Java virtual machine.

public static MemoryMXBean

Returns:

a MemoryMXBean object for the Java virtual machine.
getMemoryMXBean
()

Returns the managed bean for the memory system of the Java virtual machine.

public static List<MemoryPoolMXBean>

Returns:

a list of MemoryPoolMXBean objects.
getMemoryPoolMXBeans
()

Returns a list of MemoryPoolMXBean objects in the Java virtual machine.

public static OperatingSystemMXBean

Returns:

an OperatingSystemMXBean object for the Java virtual machine.
getOperatingSystemMXBean
()

Returns the managed bean for the operating system on which the Java virtual machine is running.

public static Set<Class<? extends PlatformManagedObject>>

Returns:

the set of Class objects, subinterface of PlatformManagedObject representing the management interfaces for monitoring and managing the Java platform.
getPlatformManagementInterfaces
()

Returns the set of Class objects, subinterface of PlatformManagedObject, representing all management interfaces for monitoring and managing the Java platform.

public static synchronized MBeanServer

Returns:

the platform MBeanServer; the platform MXBeans are registered into the platform MBeanServer at the first time this method is called.
getPlatformMBeanServer
()

Returns the platform MBeanServer.

public static <
an mxbeanInterface type parameter
T extends PlatformManagedObject
>
T

Returns:

the platform MXBean that implements mxbeanInterface, or null if not exist.
getPlatformMXBean
(Class<T>
a management interface for a platform MXBean with one single instance in the Java virtual machine if implemented.
mxbeanInterface
)

Returns the platform MXBean implementing the given mxbeanInterface which is specified to have one single instance in the Java virtual machine.

public static <
an mxbeanInterface type parameter
T extends PlatformManagedObject
>
T

Returns:

the platform MXBean proxy for forwarding the method calls of the mxbeanInterface through the given MBeanServerConnection, or null if not exist.
getPlatformMXBean
(MBeanServerConnection
the MBeanServerConnection to forward to.
connection
,
Class<T>
a management interface for a platform MXBean with one single instance in the Java virtual machine being monitored, if implemented.
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.

public static <
an mxbeanInterface type parameter
T extends PlatformManagedObject
>
List<T>

Returns:

the list of platform MXBeans that implement mxbeanInterface.
getPlatformMXBeans
(Class<T>
a management interface for a platform MXBean
mxbeanInterface
)

Returns the list of platform MXBeans implementing the given mxbeanInterface in the Java virtual machine.

public static <
an mxbeanInterface type parameter
T extends PlatformManagedObject
>
List<T>

Returns:

the list of platform MXBean proxies for forwarding the method calls of the mxbeanInterface through the given MBeanServerConnection.
getPlatformMXBeans
(MBeanServerConnection
the MBeanServerConnection to forward to.
connection
,
Class<T>
a management interface for a platform MXBean
mxbeanInterface
)

Returns the list of the platform MXBean proxies for forwarding the method calls of the mxbeanInterface through the given MBeanServerConnection.

private static Stream<String>
public static RuntimeMXBean

Returns:

a RuntimeMXBean object for the Java virtual machine.
getRuntimeMXBean
()

Returns the managed bean for the runtime system of the Java virtual machine.

public static ThreadMXBean

Returns:

a ThreadMXBean object for the Java virtual machine.
getThreadMXBean
()

Returns the managed bean for the thread system of the Java virtual machine.

private static boolean
isInstanceOf(MBeanServerConnection connection, ObjectName objName, String intfName)

private static void
public static <
an mxbeanInterface type parameter
T
>
T

Returns:

a proxy for a platform MXBean interface of a given MXBean name that forwards its method calls through the given MBeanServerConnection, or null if not exist.
newPlatformMXBeanProxy
(MBeanServerConnection
the MBeanServerConnection to forward to.
connection
,
String
the name of a platform MXBean within connection to forward to. mxbeanName must be in the format of ObjectName.
mxbeanName
,
Class<T>
the MXBean interface to be implemented by the proxy.
mxbeanInterface
)

Returns a proxy for a platform MXBean interface of a given MXBean name that forwards its method calls through the given MBeanServerConnection.

private static Collection<PlatformMBeanProvider.PlatformComponent<?>>
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

CLASS_LOADING_MXBEAN_NAMEback to summary
public static final String CLASS_LOADING_MXBEAN_NAME

String representation of the ObjectName for the ClassLoadingMXBean.

COMPILATION_MXBEAN_NAMEback to summary
public static final String COMPILATION_MXBEAN_NAME

String representation of the ObjectName for the CompilationMXBean.

GARBAGE_COLLECTOR_MXBEAN_DOMAIN_TYPEback to summary
public static final String GARBAGE_COLLECTOR_MXBEAN_DOMAIN_TYPE

The domain name and the type key property in the ObjectName for a GarbageCollectorMXBean. The unique ObjectName for a GarbageCollectorMXBean can be formed by appending this string with ",name=collector's name".

MEMORY_MANAGER_MXBEAN_DOMAIN_TYPEback to summary
public static final String MEMORY_MANAGER_MXBEAN_DOMAIN_TYPE

The domain name and the type key property in the ObjectName for a MemoryManagerMXBean. The unique ObjectName for a MemoryManagerMXBean can be formed by appending this string with ",name=manager's name".

MEMORY_MXBEAN_NAMEback to summary
public static final String MEMORY_MXBEAN_NAME

String representation of the ObjectName for the MemoryMXBean.

MEMORY_POOL_MXBEAN_DOMAIN_TYPEback to summary
public static final String MEMORY_POOL_MXBEAN_DOMAIN_TYPE

The domain name and the type key property in the ObjectName for a MemoryPoolMXBean. The unique ObjectName for a MemoryPoolMXBean can be formed by appending this string with ,name=pool's name.

NOTIF_EMITTERback to summary
private static final String NOTIF_EMITTER
OPERATING_SYSTEM_MXBEAN_NAMEback to summary
public static final String OPERATING_SYSTEM_MXBEAN_NAME

String representation of the ObjectName for the OperatingSystemMXBean.

platformMBeanServerback to summary
private static MBeanServer platformMBeanServer
RUNTIME_MXBEAN_NAMEback to summary
public static final String RUNTIME_MXBEAN_NAME

String representation of the ObjectName for the RuntimeMXBean.

THREAD_MXBEAN_NAMEback to summary
public static final String THREAD_MXBEAN_NAME

String representation of the ObjectName for the ThreadMXBean.

Constructor Detail

ManagementFactoryback to summary
private ManagementFactory()

Method Detail

addMXBeanback to summary
private static void addMXBean(final MBeanServer mbs, String name, final Object pmo)
getClassLoadingMXBeanback to summary
public static ClassLoadingMXBean getClassLoadingMXBean()

Returns the managed bean for the class loading system of the Java virtual machine.

Returns:ClassLoadingMXBean

a ClassLoadingMXBean object for the Java virtual machine.

getCompilationMXBeanback to summary
public static CompilationMXBean getCompilationMXBean()

Returns the managed bean for the compilation system of the Java virtual machine. This method returns null if the Java virtual machine has no compilation system.

Returns:CompilationMXBean

a CompilationMXBean object for the Java virtual machine or null if the Java virtual machine has no compilation system.

getGarbageCollectorMXBeansback to summary
public static List<GarbageCollectorMXBean> getGarbageCollectorMXBeans()

Returns a list of GarbageCollectorMXBean objects in the Java virtual machine. The Java virtual machine may have one or more GarbageCollectorMXBean objects. It may add or remove GarbageCollectorMXBean during execution.

Returns:List<GarbageCollectorMXBean>

a list of GarbageCollectorMXBean objects.

getMemoryManagerMXBeansback to summary
public static List<MemoryManagerMXBean> getMemoryManagerMXBeans()

Returns a list of MemoryManagerMXBean objects in the Java virtual machine. The Java virtual machine can have one or more memory managers. It may add or remove memory managers during execution.

Returns:List<MemoryManagerMXBean>

a list of MemoryManagerMXBean objects.

getMemoryMXBeanback to summary
public static MemoryMXBean getMemoryMXBean()

Returns the managed bean for the memory system of the Java virtual machine.

Returns:MemoryMXBean

a MemoryMXBean object for the Java virtual machine.

getMemoryPoolMXBeansback to summary
public static List<MemoryPoolMXBean> getMemoryPoolMXBeans()

Returns a list of MemoryPoolMXBean objects in the Java virtual machine. The Java virtual machine can have one or more memory pools. It may add or remove memory pools during execution.

Returns:List<MemoryPoolMXBean>

a list of MemoryPoolMXBean objects.

getOperatingSystemMXBeanback to summary
public static OperatingSystemMXBean getOperatingSystemMXBean()

Returns the managed bean for the operating system on which the Java virtual machine is running.

Returns:OperatingSystemMXBean

an OperatingSystemMXBean object for the Java virtual machine.

getPlatformManagementInterfacesback to summary
public static Set<Class<? extends PlatformManagedObject>> getPlatformManagementInterfaces()

Returns the set of Class objects, subinterface of PlatformManagedObject, representing all management interfaces for monitoring and managing the Java platform.

Returns:Set<Class<? extends PlatformManagedObject>>

the set of Class objects, subinterface of PlatformManagedObject representing the management interfaces for monitoring and managing the Java platform.

Since
1.7
getPlatformMBeanServerback to summary
public static synchronized MBeanServer getPlatformMBeanServer()

Returns the platform MBeanServer. On the first call to this method, it first creates the platform MBeanServer by calling the MBeanServerFactory.createMBeanServer method and registers each platform MXBean in this platform MBeanServer with its ObjectName. This method, in subsequent calls, will simply return the initially created platform MBeanServer.

MXBeans that get created and destroyed dynamically, for example, memory pools and managers, will automatically be registered and deregistered into the platform MBeanServer.

If the system property javax.management.builder.initial is set, the platform MBeanServer creation will be done by the specified javax.management.MBeanServerBuilder.

It is recommended that this platform MBeanServer also be used to register other application managed beans besides the platform MXBeans. This will allow all MBeans to be published through the same MBeanServer and hence allow for easier network publishing and discovery. Name conflicts with the platform MXBeans should be avoided.

Returns:MBeanServer

the platform MBeanServer; the platform MXBeans are registered into the platform MBeanServer at the first time this method is called.

See Also
javax.management.MBeanServerFactory, javax.management.MBeanServerFactory#createMBeanServer
getPlatformMXBeanback to summary
public static <T extends PlatformManagedObject> T getPlatformMXBean(Class<T> mxbeanInterface)

Returns the platform MXBean implementing the given mxbeanInterface which is specified to have one single instance in the Java virtual machine. This method may return null if the management interface is not implemented in the Java virtual machine (for example, a Java virtual machine with no compilation system does not implement CompilationMXBean); otherwise, this method is equivalent to calling:

   getPlatformMXBeans(mxbeanInterface).get(0);
Parameters
<T>
an mxbeanInterface type parameter
mxbeanInterface:Class<T>

a management interface for a platform MXBean with one single instance in the Java virtual machine if implemented.

Returns:T

the platform MXBean that implements mxbeanInterface, or null if not exist.

Exceptions
IllegalArgumentException:
if mxbeanInterface is not a platform management interface or not a singleton platform MXBean.
Since
1.7
getPlatformMXBeanback to summary
public static <T extends PlatformManagedObject> T getPlatformMXBean(MBeanServerConnection connection, Class<T> mxbeanInterface) throws IOException

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. This method may return null if the management interface is not implemented in the Java virtual machine being monitored (for example, a Java virtual machine with no compilation system does not implement CompilationMXBean); otherwise, this method is equivalent to calling:

    getPlatformMXBeans(connection, mxbeanInterface).get(0);
Parameters
<T>
an mxbeanInterface type parameter
connection:MBeanServerConnection

the MBeanServerConnection to forward to.

mxbeanInterface:Class<T>

a management interface for a platform MXBean with one single instance in the Java virtual machine being monitored, if implemented.

Returns:T

the platform MXBean proxy for forwarding the method calls of the mxbeanInterface through the given MBeanServerConnection, or null if not exist.

Exceptions
IOException:
if a communication problem occurred when accessing the MBeanServerConnection.
IllegalArgumentException:
if mxbeanInterface is not a platform management interface or not a singleton platform MXBean.
Since
1.7
See Also
newPlatformMXBeanProxy
getPlatformMXBeansback to summary
public static <T extends PlatformManagedObject> List<T> getPlatformMXBeans(Class<T> mxbeanInterface)

Returns the list of platform MXBeans implementing the given mxbeanInterface in the Java virtual machine. The returned list may contain zero, one, or more instances. The number of instances in the returned list is defined in the specification of the given management interface. The order is undefined and there is no guarantee that the list returned is in the same order as previous invocations.

Parameters
<T>
an mxbeanInterface type parameter
mxbeanInterface:Class<T>

a management interface for a platform MXBean

Returns:List<T>

the list of platform MXBeans that implement mxbeanInterface.

Exceptions
IllegalArgumentException:
if mxbeanInterface is not a platform management interface.
Since
1.7
getPlatformMXBeansback to summary
public static <T extends PlatformManagedObject> List<T> getPlatformMXBeans(MBeanServerConnection connection, Class<T> mxbeanInterface) throws IOException

Returns the list of the platform MXBean proxies for forwarding the method calls of the mxbeanInterface through the given MBeanServerConnection. The returned list may contain zero, one, or more instances. The number of instances in the returned list is defined in the specification of the given management interface. The order is undefined and there is no guarantee that the list returned is in the same order as previous invocations.

Parameters
<T>
an mxbeanInterface type parameter
connection:MBeanServerConnection

the MBeanServerConnection to forward to.

mxbeanInterface:Class<T>

a management interface for a platform MXBean

Returns:List<T>

the list of platform MXBean proxies for forwarding the method calls of the mxbeanInterface through the given MBeanServerConnection.

Exceptions
IOException:
if a communication problem occurred when accessing the MBeanServerConnection.
IllegalArgumentException:
if mxbeanInterface is not a platform management interface.
Since
1.7
See Also
newPlatformMXBeanProxy
getProxyNamesback to summary
private static Stream<String> getProxyNames(PlatformMBeanProvider.PlatformComponent<?> pc, MBeanServerConnection conn, Class<?> intf) throws IOException
getRuntimeMXBeanback to summary
public static RuntimeMXBean getRuntimeMXBean()

Returns the managed bean for the runtime system of the Java virtual machine.

Returns:RuntimeMXBean

a RuntimeMXBean object for the Java virtual machine.

getThreadMXBeanback to summary
public static ThreadMXBean getThreadMXBean()

Returns the managed bean for the thread system of the Java virtual machine.

Returns:ThreadMXBean

a ThreadMXBean object for the Java virtual machine.

isInstanceOfback to summary
private static boolean isInstanceOf(MBeanServerConnection connection, ObjectName objName, String intfName) throws InstanceNotFoundException, IOException
loadNativeLibback to summary
private static void loadNativeLib()
Annotations
@SuppressWarnings:restricted
newPlatformMXBeanProxyback to summary
public static <T> T newPlatformMXBeanProxy(MBeanServerConnection connection, String mxbeanName, Class<T> mxbeanInterface) throws IOException

Returns a proxy for a platform MXBean interface of a given MXBean name that forwards its method calls through the given MBeanServerConnection.

This method is equivalent to:

Proxy.newProxyInstance(mxbeanInterface.getClassLoader(), new Class[] { mxbeanInterface }, handler)
where handler is an InvocationHandler to which method invocations to the MXBean interface are dispatched. This handler converts an input parameter from an MXBean data type to its mapped open type before forwarding to the MBeanServer and converts a return value from an MXBean method call through the MBeanServer from an open type to the corresponding return type declared in the MXBean interface.

If the MXBean is a notification emitter (i.e., it implements NotificationEmitter), both the mxbeanInterface and NotificationEmitter will be implemented by this proxy.

Notes:

  1. Using an MXBean proxy is a convenience remote access to a platform MXBean of a running virtual machine. All method calls to the MXBean proxy are forwarded to an MBeanServerConnection where IOException may be thrown when the communication problem occurs with the connector server. If thrown, IOException will be wrappped in UndeclaredThrowableException. An application remotely accessing the platform MXBeans using proxy should prepare to catch UndeclaredThrowableException and handle its cause as if that cause had been thrown by the MBeanServerConnection interface.
  2. When a client application is designed to remotely access MXBeans for a running virtual machine whose version is different than the version on which the application is running, it should prepare to catch InvalidObjectException which is thrown when an MXBean proxy receives a name of an enum constant which is missing in the enum class loaded in the client application. If thrown, InvalidObjectException will be wrappped in UndeclaredThrowableException.
  3. MBeanServerInvocationHandler or its newProxyInstance method cannot be used to create a proxy for a platform MXBean. The proxy object created by MBeanServerInvocationHandler does not handle the properties of the platform MXBeans described in the class specification.
Parameters
<T>
an mxbeanInterface type parameter
connection:MBeanServerConnection

the MBeanServerConnection to forward to.

mxbeanName:String

the name of a platform MXBean within connection to forward to. mxbeanName must be in the format of ObjectName.

mxbeanInterface:Class<T>

the MXBean interface to be implemented by the proxy.

Returns:T

a proxy for a platform MXBean interface of a given MXBean name that forwards its method calls through the given MBeanServerConnection, or null if not exist.

Exceptions
IOException:
if a communication problem occurred when accessing the MBeanServerConnection.
IllegalArgumentException:
if
  • mxbeanName is not with a valid ObjectName format, or
  • the named MXBean in the connection is not a MXBean provided by the platform, or
  • the named MXBean is not registered in the MBeanServerConnection, or
  • the named MXBean is not an instance of the given mxbeanInterface
platformComponentsback to summary
private static Collection<PlatformMBeanProvider.PlatformComponent<?>> platformComponents()
java.lang.management back to summary

private Class ManagementFactory.PlatformMBeanFinder

extends Object
Class Inheritance

Field Summary

Modifier and TypeField and Description
private static final Map<String, PlatformMBeanProvider.PlatformComponent<?>>

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
pack-priv static PlatformMBeanProvider.PlatformComponent<?>
findFirst(Class<?> mbeanIntf)

pack-priv static PlatformMBeanProvider.PlatformComponent<?>
findSingleton(Class<?> mbeanIntf)

pack-priv static Map<String, PlatformMBeanProvider.PlatformComponent<?>>
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

componentMapback to summary
private static final Map<String, PlatformMBeanProvider.PlatformComponent<?>> componentMap

Constructor Detail

PlatformMBeanFinderback to summary
private PlatformMBeanFinder()

Method Detail

findFirstback to summary
pack-priv static PlatformMBeanProvider.PlatformComponent<?> findFirst(Class<?> mbeanIntf)
findSingletonback to summary
pack-priv static PlatformMBeanProvider.PlatformComponent<?> findSingleton(Class<?> mbeanIntf)
getMapback to summary
pack-priv static Map<String, PlatformMBeanProvider.PlatformComponent<?>> getMap()