tigase.disteventbus.component

## Class ListenerScript

- java.lang.Object
- - tigase.disteventbus.component.ListenerScript

- All Implemented Interfaces:
    EventHandler

      public class ListenerScript
      extends Object
      implements EventHandler

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `ListenerScript()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `onEvent(String name, String xmlns, Element event)`
    `void` | `run(EventBusContext context, ScriptEngineManager scriptEngineManager, String scriptName, String scriptExtension, String scriptContent, String eventName, String eventXMLNS)`
    `void` | `unregister()`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### ListenerScript

          public ListenerScript()

  - ### Method Detail

    - #### onEvent

          public void onEvent(String name,
                              String xmlns,
                              Element event)

      Specified by:
        `onEvent` in interface `EventHandler`

    - #### run

          public void run(EventBusContext context,
                          ScriptEngineManager scriptEngineManager,
                          String scriptName,
                          String scriptExtension,
                          String scriptContent,
                          String eventName,
                          String eventXMLNS)
                   throws ScriptException

      Throws:
        `ScriptException`

    - #### unregister

          public void unregister()

Copyright © 2017 "Tigase, Inc.". All rights reserved.