tigase.eventbus

## Annotation Type HandleEvent

-     @Target(value=METHOD)
       @Retention(value=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.

- - ### Optional Element Summary

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

- - ### Element Detail

    - #### filter

          public abstract HandleEvent.Type filter

      Default:
        tigase.eventbus.HandleEvent.Type.all

Copyright © 2004–2021 "Tigase, Inc.". All rights reserved.