public class PlatformMBeanServerRegistration extends Object
Configuration.getExposeManagementStatistics()
is true, then class will register
all the MBeans from the ConfigurationRegistry to the pltform MBean server.
Note: to enable platform MBeanServer the following system property should be passet to the JVM:
-Dcom.sun.management.jmxremote.ManagementFactory.getPlatformMBeanServer()
Constructor and Description |
---|
PlatformMBeanServerRegistration() |
Modifier and Type | Method and Description |
---|---|
void |
initialize(CacheSPI cache) |
void |
registerToPlatformMBeanServer()
Here is where the registration is being performed.
|
void |
unregisterMBeans()
Unregister when the cache is being stoped.
|
public void initialize(CacheSPI cache)
public void registerToPlatformMBeanServer()
public void unregisterMBeans()
Copyright © 2012 JBoss, a division of Red Hat. All Rights Reserved.