Groovy 2.2.1

groovy.jmx.builder
[Groovy] Class JmxListenerFactory

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.
 })
 
Authors:
Vladimir Vivien
See Also:
JmxEventListener


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

isLeaf

boolean isLeaf()


newInstance

Object 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.