public interface MBeanRegistry
Modifier and Type | Method and Description |
---|---|
javax.management.MBeanServer |
getMBeanServer() |
javax.management.ObjectName |
getObjectName(java.lang.String objectNameCacheKey) |
javax.management.ObjectInstance |
register(java.lang.String objectNameCacheKey,
java.lang.Object object,
javax.management.ObjectName objectName) |
void |
replace(java.lang.String objectCacheKey,
java.lang.Object object,
javax.management.ObjectName objectName) |
void |
unregister(java.lang.String objectNameCacheKey,
javax.management.ObjectName defaultObjectName) |
javax.management.MBeanServer getMBeanServer()
javax.management.ObjectName getObjectName(java.lang.String objectNameCacheKey)
javax.management.ObjectInstance register(java.lang.String objectNameCacheKey, java.lang.Object object, javax.management.ObjectName objectName) throws javax.management.InstanceAlreadyExistsException, javax.management.MBeanRegistrationException, javax.management.NotCompliantMBeanException
javax.management.InstanceAlreadyExistsException
javax.management.MBeanRegistrationException
javax.management.NotCompliantMBeanException
void replace(java.lang.String objectCacheKey, java.lang.Object object, javax.management.ObjectName objectName) throws java.lang.Exception
java.lang.Exception
void unregister(java.lang.String objectNameCacheKey, javax.management.ObjectName defaultObjectName) throws javax.management.InstanceNotFoundException, javax.management.MBeanRegistrationException
javax.management.InstanceNotFoundException
javax.management.MBeanRegistrationException