Package com.amazonaws.jmx
Class SdkMBeanRegistrySupport
- java.lang.Object
-
- com.amazonaws.jmx.SdkMBeanRegistrySupport
-
- All Implemented Interfaces:
SdkMBeanRegistry
public class SdkMBeanRegistrySupport extends Object implements SdkMBeanRegistry
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.amazonaws.jmx.spi.SdkMBeanRegistry
SdkMBeanRegistry.Factory
-
-
Field Summary
-
Fields inherited from interface com.amazonaws.jmx.spi.SdkMBeanRegistry
NONE
-
-
Constructor Summary
Constructors Constructor Description SdkMBeanRegistrySupport()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isMBeanRegistered(String objectName)
Returns true if the the MBean under the given object name is currently registered; false otherwise.boolean
registerMetricAdminMBean(String objectName)
Returns true if the registration of the admin MBean under the given object name succeeded; false otherwise.boolean
unregisterMBean(String objectName)
Returns true if the unregistration of the MBean under the given object name succeeded; false otherwise.
-
-
-
Method Detail
-
registerMetricAdminMBean
public boolean registerMetricAdminMBean(String objectName)
Description copied from interface:SdkMBeanRegistry
Returns true if the registration of the admin MBean under the given object name succeeded; false otherwise.- Specified by:
registerMetricAdminMBean
in interfaceSdkMBeanRegistry
-
unregisterMBean
public boolean unregisterMBean(String objectName)
Description copied from interface:SdkMBeanRegistry
Returns true if the unregistration of the MBean under the given object name succeeded; false otherwise.- Specified by:
unregisterMBean
in interfaceSdkMBeanRegistry
-
isMBeanRegistered
public boolean isMBeanRegistered(String objectName)
Description copied from interface:SdkMBeanRegistry
Returns true if the the MBean under the given object name is currently registered; false otherwise.- Specified by:
isMBeanRegistered
in interfaceSdkMBeanRegistry
-
-