EventListener, DynamicMBean, MBeanRegistration, ModelMBean, ModelMBeanNotificationBroadcaster, NotificationBroadcaster, NotificationEmitter, NotificationListener, PersistentMBeanpublic class JmxBuilderModelMBean extends RequiredModelMBean implements NotificationListener
| Constructor | Description |
|---|---|
JmxBuilderModelMBean() |
|
JmxBuilderModelMBean(Object objectRef) |
|
JmxBuilderModelMBean(ModelMBeanInfo mbi) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
addEventListeners(MBeanServer server,
Map<String,Map<String,Object>> descriptor) |
Sets up event listeners for this MBean as described in the descriptor.
|
void |
addOperationCallListeners(Map<String,Map<String,Map<String,Object>>> descriptor) |
Registers listeners for operation calls (i.e.
|
void |
handleNotification(Notification note,
Object handback) |
|
Object |
invoke(String opName,
Object[] opArgs,
String[] signature) |
|
void |
setManagedResource(Object obj) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddAttributeChangeNotificationListener, addNotificationListener, getAttribute, getAttributes, getClassLoaderRepository, getMBeanInfo, getNotificationInfo, load, postDeregister, postRegister, preDeregister, preRegister, removeAttributeChangeNotificationListener, removeNotificationListener, removeNotificationListener, sendAttributeChangeNotification, sendAttributeChangeNotification, sendNotification, sendNotification, setAttribute, setAttributes, setManagedResource, setModelMBeanInfo, storepublic JmxBuilderModelMBean(Object objectRef) throws MBeanException, RuntimeOperationsException, InstanceNotFoundException, InvalidTargetObjectTypeException
public JmxBuilderModelMBean()
throws MBeanException,
RuntimeOperationsException
public JmxBuilderModelMBean(ModelMBeanInfo mbi) throws MBeanException, RuntimeOperationsException
public void setManagedResource(Object obj)
public void addOperationCallListeners(Map<String,Map<String,Map<String,Object>>> descriptor)
descriptor - MetaMap descriptor containing description of operation call listenerspublic void addEventListeners(MBeanServer server, Map<String,Map<String,Object>> descriptor)
server - the MBeanServer is to be registered.descriptor - a map containing info about the eventpublic Object invoke(String opName, Object[] opArgs, String[] signature) throws MBeanException, ReflectionException
invoke in interface DynamicMBeaninvoke in class RequiredModelMBeanMBeanExceptionReflectionExceptionpublic void handleNotification(Notification note, Object handback)
handleNotification in interface NotificationListener