|
Groovy 2.2.0 | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.management.modelmbean.RequiredModelMBean groovy.jmx.builder.JmxBuilderModelMBean
public class JmxBuilderModelMBean extends RequiredModelMBean
The JmxBuilderModelMBean is the MBean class that proxies exported POGO/POJO inside the MBeanServer. When JmxBuilder exports an object instance, an instance of this class is created and exported inside the MBeanServer.
Constructor Summary | |
JmxBuilderModelMBean(Object objectRef)
|
|
JmxBuilderModelMBean()
|
|
JmxBuilderModelMBean(ModelMBeanInfo mbi)
|
Method Summary | |
---|---|
void
|
addEventListeners(MBeanServer server, Map descriptor)
Sets up event listeners for this MBean as described in the descriptor. |
void
|
addOperationCallListeners(Map descriptor)
Registers listeners for operation calls (i.e. method, getter, and setter calls) when invoked on this bean from the MBeanServer. |
void
|
handleNotification(Notification note, Object handback)
|
Object
|
invoke(String opName, Object[] opArgs, String[] signature)
|
void
|
setManagedResource(Object obj)
|
Methods inherited from class Object | |
---|---|
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
Constructor Detail |
---|
public JmxBuilderModelMBean(Object objectRef)
public JmxBuilderModelMBean()
public JmxBuilderModelMBean(ModelMBeanInfo mbi)
Method Detail |
---|
public void addEventListeners(MBeanServer server, Map descriptor)
server
- the MBeanServer is to be registered.descriptor
- a map containing info about the event
public void addOperationCallListeners(Map descriptor)
descriptor
- MetaMap descriptor containing description of operation call listeners
public void handleNotification(Notification note, Object handback)
@Overridethis.sendNotification(buildCallListenerNotification(opName)); public Object invoke(String opName, Object[] opArgs, String[] signature)
public void setManagedResource(Object obj)
Copyright © 2003-2013 The Codehaus. All rights reserved.