Class ExoModelMBean
java.lang.Object
javax.management.modelmbean.RequiredModelMBean
org.exoplatform.management.jmx.impl.ExoModelMBean
- All Implemented Interfaces:
DynamicMBean,MBeanRegistration,ModelMBean,ModelMBeanNotificationBroadcaster,NotificationBroadcaster,NotificationEmitter,PersistentMBean
A convenient subclass of
RequiredModelMBean that routes the invocation of the interface
MBeanRegistration to the managed resource when it implements the method.- Version:
- $Revision$
- Author:
- Julien Viet
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidpostRegister(Boolean registrationDone) voidpreRegister(MBeanServer server, ObjectName name) Methods inherited from class javax.management.modelmbean.RequiredModelMBean
addAttributeChangeNotificationListener, addNotificationListener, getAttribute, getAttributes, getClassLoaderRepository, getMBeanInfo, getNotificationInfo, load, removeAttributeChangeNotificationListener, removeNotificationListener, removeNotificationListener, sendAttributeChangeNotification, sendAttributeChangeNotification, sendNotification, sendNotification, setAttribute, setAttributes, setManagedResource, setModelMBeanInfo, store
-
Constructor Details
-
ExoModelMBean
public ExoModelMBean(ManagedResource context, Object mr, ModelMBeanInfo mbi) throws MBeanException, RuntimeOperationsException, InstanceNotFoundException, InvalidTargetObjectTypeException
-
-
Method Details
-
invoke
public Object invoke(String opName, Object[] opArgs, String[] sig) throws MBeanException, ReflectionException - Specified by:
invokein interfaceDynamicMBean- Overrides:
invokein classRequiredModelMBean- Throws:
MBeanExceptionReflectionException
-
preRegister
- Specified by:
preRegisterin interfaceMBeanRegistration- Overrides:
preRegisterin classRequiredModelMBean- Throws:
Exception
-
postRegister
- Specified by:
postRegisterin interfaceMBeanRegistration- Overrides:
postRegisterin classRequiredModelMBean
-
preDeregister
- Specified by:
preDeregisterin interfaceMBeanRegistration- Overrides:
preDeregisterin classRequiredModelMBean- Throws:
Exception
-
postDeregister
public void postDeregister()- Specified by:
postDeregisterin interfaceMBeanRegistration- Overrides:
postDeregisterin classRequiredModelMBean
-