public class JMXProvider extends Object
Modifier and Type | Field and Description |
---|---|
static String |
CONTAINER_MBEAN_DESCR_URL |
static String |
DEFAULT_DOMAIN |
static String |
JSPACE_EXT_MBEAN_DESCR_URL |
static String |
JSPACE_MBEAN_DESCR_URL |
Modifier and Type | Method and Description |
---|---|
static MBeanServer |
getMBeanServer(String containerName)
Return the
MBeanServer . |
static void |
registerContainerMBean(String containerName,
IJSpaceContainer container)
Create management bean for JSpace Container.
|
static void |
registerLocalTimeMBean(String containerName)
Create management bean for JSpace Container.
|
static void |
registerSpaceMBean(String spaceName,
SpaceImpl spaceImpl)
Create and register management bean for specified JSpace.
|
static void |
registerTransportMBean(String containerName)
Create management bean for JSpace Container.
|
static void |
removeMBeanServer() |
static void |
unregisterContainerMBean(IJSpaceContainer container)
Release mbean registration for JSpace Container.
|
static void |
unregisterSpaceMBean(String spaceName,
String containerName)
Release mbean registration for JSpace.
|
static void |
unregisterTransportMBean(String containerName)
Release Transport MBean registration.
|
public static final String CONTAINER_MBEAN_DESCR_URL
public static final String JSPACE_MBEAN_DESCR_URL
public static final String JSPACE_EXT_MBEAN_DESCR_URL
public static final String DEFAULT_DOMAIN
public static MBeanServer getMBeanServer(String containerName)
MBeanServer
. If MBeanServer reference equals null, that is, it wasn't
initialized via JMXProvider.startManagementAgent()
method, then try to obtain
initially created platform MBeanServer.public static void registerContainerMBean(String containerName, IJSpaceContainer container)
public static void registerTransportMBean(String containerName)
public static void registerLocalTimeMBean(String containerName)
public static void unregisterTransportMBean(String containerName) throws Exception
Exception
public static void unregisterContainerMBean(IJSpaceContainer container) throws Exception
Exception
public static void registerSpaceMBean(String spaceName, SpaceImpl spaceImpl)
public static void unregisterSpaceMBean(String spaceName, String containerName)
public static void removeMBeanServer()
Copyright © GigaSpaces.