com.tibbo.aggregate.common.event

## Interface ContextEventListener

- All Known Implementing Classes:
    DefaultClientController.ForwardingEventListener, DefaultContextEventListener, EditTemplateActionDefinition.LogoutEventListener

      public interface ContextEventListener

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `CallerController` | `getCallerController()`
    `Expression` | `getFilter()`
    `java.lang.String` | `getFingerprint()`
    `java.lang.Integer` | `getListenerCode()`
    `void` | `handle(Event event)` Handles the event
    `void` | `handle(Event event, EventDefinition ed)`
    `boolean` | `isAsync()`
    `void` | `setListenerCode(java.lang.Integer listenerCode)`
    `boolean` | `shouldHandle(Event ev)` Should return true if event should be handled.

- - ### Method Detail

    - #### shouldHandle

          boolean shouldHandle(Event ev)
                        throws EventHandlingException

      Should return true if event should be handled.
      Throws:
        `EventHandlingException`

    - #### handle

          void handle(Event event)
               throws EventHandlingException

      Handles the event
      Throws:
        `EventHandlingException`

    - #### handle

          void handle(Event event,
                      EventDefinition ed)
               throws EventHandlingException

      Throws:
        `EventHandlingException`

    - #### getCallerController

          CallerController getCallerController()

    - #### getListenerCode

          java.lang.Integer getListenerCode()

    - #### getFilter

          Expression getFilter()

    - #### getFingerprint

          java.lang.String getFingerprint()

    - #### isAsync

          boolean isAsync()

    - #### setListenerCode

          void setListenerCode(java.lang.Integer listenerCode)