Annotation Interface ListensFor


@Retention(RUNTIME) @Target(TYPE) @Documented public @interface ListensFor
Annotation used for Component classes in order to describe what EventTypes this Component will ListensFor.
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Array of the EventTypes that the Component will emit.
  • Element Details

    • events

      String[] events
      Array of the EventTypes that the Component will emit.