Groovy 2.2.1

groovy.jmx.builder
[Groovy] Class JmxEmitterFactory

java.lang.Object
  groovy.util.AbstractFactory
      groovy.jmx.builder.JmxEmitterFactory

class JmxEmitterFactory
extends AbstractFactory

This class is the factory for the emitter node. This node faciliates 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)
 
Authors:
Vladimir Vivien


Method Summary
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)

 
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

isLeaf

boolean isLeaf()


newInstance

def newInstance(FactoryBuilderSupport builder, Object nodeName, Object nodeParam, Map nodeAttribs)


onHandleNodeAttributes

boolean onHandleNodeAttributes(FactoryBuilderSupport builder, Object node, Map nodeAttribs)


onNodeCompleted

void onNodeCompleted(FactoryBuilderSupport builder, Object parentNode, Object thisNode)


 

Copyright © 2003-2013 The Codehaus. All rights reserved.