public final class MBeanServerRegistrationUtility extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
MBeanServerRegistrationUtility.ObjectNameType
The type of registered Object
|
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isRegistered(javax.cache.Cache cache, MBeanServerRegistrationUtility.ObjectNameType objectNameType)
Checks whether an ObjectName is already registered.
|
static void |
registerCacheObject(AbstractCoherenceBasedCache cache, MBeanServerRegistrationUtility.ObjectNameType objectNameType)
Utility method for registering CacheStatistics with the platform MBeanServer
|
static void |
unregisterCacheObject(javax.cache.Cache cache, MBeanServerRegistrationUtility.ObjectNameType objectNameType)
Removes registered CacheStatistics for a Cache
|
public static void registerCacheObject(AbstractCoherenceBasedCache cache, MBeanServerRegistrationUtility.ObjectNameType objectNameType)
cache - the cache to register
public static boolean isRegistered(javax.cache.Cache cache,
MBeanServerRegistrationUtility.ObjectNameType objectNameType)
javax.cache.CacheException - - all exceptions are wrapped in CacheException
public static void unregisterCacheObject(javax.cache.Cache cache,
MBeanServerRegistrationUtility.ObjectNameType objectNameType)
javax.cache.CacheException - - all exceptions are wrapped in CacheException