|
Groovy 2.2.0 | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object groovy.util.AbstractFactory groovy.jmx.builder.JmxListenerFactory
class JmxListenerFactory extends AbstractFactory
This factory class is used to create an listener() node for JmxBuilder. Listener nodes are used to create a generic event listener (that is automatically registered with the MBean) that can handle any event broadcasted on the MBeanServer's event bus.
Syntax supported:
JmxBuilder.listener(event:"event type", from:"Object Name"|ObjectName(), call:{event-> // event handling code here. })
Method Summary | |
---|---|
boolean
|
isLeaf()
|
Object
|
newInstance(FactoryBuilderSupport builder, Object nodeName, Object nodeParam, Map nodeAttribs)
|
boolean
|
onHandleNodeAttributes(FactoryBuilderSupport builder, Object node, Map nodeAttribs)
|
void
|
onNodeCompleted(FactoryBuilderSupport builder, Object parentNode, Object thisNode)
|
Methods inherited from class AbstractFactory | |
---|---|
isLeaf, onFactoryRegistration, isHandlesNodeChildren, onNodeChildren, onHandleNodeAttributes, onNodeCompleted, setChild, setParent, wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll, newInstance |
Methods inherited from class Object | |
---|---|
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
Method Detail |
---|
boolean isLeaf()
Object newInstance(FactoryBuilderSupport builder, Object nodeName, Object nodeParam, Map nodeAttribs)
boolean onHandleNodeAttributes(FactoryBuilderSupport builder, Object node, Map nodeAttribs)
void onNodeCompleted(FactoryBuilderSupport builder, Object parentNode, Object thisNode)
Copyright © 2003-2013 The Codehaus. All rights reserved.