Package tigase.eventbus

# Annotation Interface HandleEvent

@Target(METHOD) @Retention(RUNTIME) @Inherited @Documented public @interface HandleEvent
Annotation to mark method as event handler.
Example:

     public class Consumer {
     @HandleEvent
     public void onCatchSomeNiceEvent(Event01 event) {
     }
     @HandleEvent
     public void onCatchSomeNiceEvent(Event02 event) {
     }
     }

Handler method must have only one argument with type equals to expected event.

- ## Nested Class Summary

  Nested Classes
  Modifier and Type
  Class
  Description
  `static enum`
  `HandleEvent.Type`

- ## Optional Element Summary

  Optional Elements
  Modifier and Type
  Optional Element
  Description
  `HandleEvent.Type`
  `filter`

- ## Element Details

  - ### filter

    HandleEvent.Type filter
    Default:
      all