org.exoplatform.management.jmx.impl
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
public class ExoModelMBean
- extends RequiredModelMBean
A convenient subclass of RequiredModelMBean) that routes the invocation of the interface
{@link MBeanRegistration} to the managed resource when it implements the method.
- Version:
- $Revision$
- Author:
- Julien Viet
| 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 |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExoModelMBean
public ExoModelMBean(ManagedResource context,
Object mr,
ModelMBeanInfo mbi)
throws MBeanException,
RuntimeOperationsException,
InstanceNotFoundException,
InvalidTargetObjectTypeException
- Throws:
MBeanException
RuntimeOperationsException
InstanceNotFoundException
InvalidTargetObjectTypeException
invoke
public Object invoke(String opName,
Object[] opArgs,
String[] sig)
throws MBeanException,
ReflectionException
- Specified by:
invoke in interface DynamicMBean- Overrides:
invoke in class RequiredModelMBean
- Throws:
MBeanException
ReflectionException
preRegister
public ObjectName preRegister(MBeanServer server,
ObjectName name)
throws Exception
- Specified by:
preRegister in interface MBeanRegistration- Overrides:
preRegister in class RequiredModelMBean
- Throws:
Exception
postRegister
public void postRegister(Boolean registrationDone)
- Specified by:
postRegister in interface MBeanRegistration- Overrides:
postRegister in class RequiredModelMBean
preDeregister
public void preDeregister()
throws Exception
- Specified by:
preDeregister in interface MBeanRegistration- Overrides:
preDeregister in class RequiredModelMBean
- Throws:
Exception
postDeregister
public void postDeregister()
- Specified by:
postDeregister in interface MBeanRegistration- Overrides:
postDeregister in class RequiredModelMBean
Copyright © 2013 eXo Platform SAS. All Rights Reserved.