Annotation Interface Event


@Documented @Retention(RUNTIME) @Target(METHOD) @Repeatable(wt.services.custom.listeners.Events.class) public @interface Event
Annotation To be used for registering the events which is present in the Class annotated with @CustomEventListener. The methods which will be annotated with @Event will be registered as an event listener after all OOTB listeners are registered.

Supported API: true
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Supported API: true
    Supported API: true
  • Element Details

    • eventClass

      Class eventClass
      Supported API: true
      Returns:
      String
      Default:
      java.lang.Object.class
    • eventKey

      String eventKey
      Supported API: true
      Returns:
      String
      Default:
      ""