[Groovy] Class JmxEmitterFactory
- groovy.jmx.builder.JmxEmitterFactory
This class is the factory for the emitter node. This node facilitates the declaration of a JMX event emitter. The emitter is used to broadcast arbitrary event on the MBeanServer's event bus. Registered listeners are able to consume event once sent.
Supported syntax:
def jmx = JmxBuilder() jmx.emitter(name:"Object name"|ObjectName(), event:"event type") ... jmx.emitter.send(object)
Methods Summary
Type Params | Return Type | Name and description |
---|---|---|
boolean |
isLeaf() | |
def |
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) |
Inherited Methods Summary
Methods inherited from class | Name |
---|---|
class AbstractFactory | setParent, onNodeCompleted, onNodeChildren, setChild, isLeaf, onFactoryRegistration, onHandleNodeAttributes, isHandlesNodeChildren, wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll, newInstance |
Method Detail
boolean isLeaf()
def 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)
© 2003-2020 The Apache Software Foundation
Licensed under the Apache license.
https://docs.groovy-lang.org/2.5.14/html/gapi/groovy/jmx/builder/JmxEmitterFactory.html