public class ExoModelMBean extends RequiredModelMBean
RequiredModelMBean that routes the invocation of the interface
MBeanRegistration to the managed resource when it implements the method.| Constructor and Description |
|---|
ExoModelMBean(ManagedResource context,
Object mr,
ModelMBeanInfo mbi) |
| Modifier and Type | Method and Description |
|---|---|
Object |
invoke(String opName,
Object[] opArgs,
String[] sig) |
void |
postDeregister() |
void |
postRegister(Boolean registrationDone) |
void |
preDeregister() |
ObjectName |
preRegister(MBeanServer server,
ObjectName name) |
addAttributeChangeNotificationListener, addNotificationListener, getAttribute, getAttributes, getClassLoaderRepository, getMBeanInfo, getNotificationInfo, load, removeAttributeChangeNotificationListener, removeNotificationListener, removeNotificationListener, sendAttributeChangeNotification, sendAttributeChangeNotification, sendNotification, sendNotification, setAttribute, setAttributes, setManagedResource, setModelMBeanInfo, storepublic ExoModelMBean(ManagedResource context, Object mr, ModelMBeanInfo mbi) throws MBeanException, RuntimeOperationsException, InstanceNotFoundException, InvalidTargetObjectTypeException
public Object invoke(String opName, Object[] opArgs, String[] sig) throws MBeanException, ReflectionException
invoke in interface DynamicMBeaninvoke in class RequiredModelMBeanMBeanExceptionReflectionExceptionpublic ObjectName preRegister(MBeanServer server, ObjectName name) throws Exception
preRegister in interface MBeanRegistrationpreRegister in class RequiredModelMBeanExceptionpublic void postRegister(Boolean registrationDone)
postRegister in interface MBeanRegistrationpostRegister in class RequiredModelMBeanpublic void preDeregister()
throws Exception
preDeregister in interface MBeanRegistrationpreDeregister in class RequiredModelMBeanExceptionpublic void postDeregister()
postDeregister in interface MBeanRegistrationpostDeregister in class RequiredModelMBeanCopyright © 2016 eXo Platform SAS. All Rights Reserved.