Package: groovy.jmx.builder

## [Groovy] Class JmxListenerFactory

- groovy.jmx.builder.JmxListenerFactory

-     class JmxListenerFactory
      extends AbstractFactory

  This factory class is used to create a 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.
      })

  See Also:
    JmxEventListener

- - ### Constructor Summary

    Constructors
    Constructor and description
    `JmxListenerFactory ()`

  - ### Methods Summary

    Methods
    Type Params | Return Type | Name and description
    --- | --- | ---
    `` | `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)`

  - ### Inherited Methods Summary

    Inherited Methods
    Methods inherited from class | Name
    --- | ---
    `class AbstractFactory` | `isLeaf, onFactoryRegistration, isHandlesNodeChildren, onHandleNodeAttributes, onNodeChildren, onNodeCompleted, setChild, setParent, wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll, newInstance`

- - ### Constructor Detail

    - #### JmxListenerFactory()

  - ### 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)