Package org.codice.ddf.admin.core.impl
Class BasicMBean
java.lang.Object
javax.management.StandardMBean
org.codice.ddf.admin.core.impl.BasicMBean
- All Implemented Interfaces:
DynamicMBean,MBeanRegistration
- Direct Known Subclasses:
AdminAlertImpl
BasicMBean implements the standard init and destroy methods all of our mbeans use. Other mbean
implementations can extend this BasicMBean and only need to implement their interface without the
need to worry about the bean registration.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBasicMBean(Class classInterface, String objectNameString) -
Method Summary
Methods inherited from class javax.management.StandardMBean
cacheMBeanInfo, getAttribute, getAttributes, getCachedMBeanInfo, getClassName, getConstructors, getDescription, getDescription, getDescription, getDescription, getDescription, getDescription, getDescription, getImpact, getImplementation, getImplementationClass, getMBeanInfo, getMBeanInterface, getParameterName, getParameterName, invoke, postDeregister, postRegister, preDeregister, preRegister, setAttribute, setAttributes, setImplementation
-
Constructor Details
-
BasicMBean
protected BasicMBean(Class classInterface, String objectNameString) throws NotCompliantMBeanException - Throws:
NotCompliantMBeanException
-
-
Method Details
-
init
public void init() -
destroy
public void destroy()
-