public class JmxBuilderModelMBean extends RequiredModelMBean implements NotificationListener
| Constructor and Description | 
|---|
JmxBuilderModelMBean()  | 
JmxBuilderModelMBean(ModelMBeanInfo mbi)  | 
JmxBuilderModelMBean(Object objectRef)  | 
| Modifier and Type | Method and 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)  | 
addAttributeChangeNotificationListener, 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)
item -> [Map[methodListener:[target:"", tpe:"", callback:&Closure], ... ,]]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