Annotation Type Subscribe


  • @Retention(RUNTIME)
    @Target(METHOD)
    public @interface Subscribe
    Annotation for subscribing an EventQueue with the annotated method. SelectorComposer.
    Since:
    6.0.1
    Author:
    simonpai
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      java.lang.String value
      Name of the EventQueue.
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      boolean autoUnsubscribe
      Unsubscribe event-queue automatically when component of composer was detached.
      java.lang.String eventName
      Event name
      java.lang.String scope
      Scope of the EventQueue.
    • Element Detail

      • value

        java.lang.String value
        Name of the EventQueue.
      • autoUnsubscribe

        boolean autoUnsubscribe
        Unsubscribe event-queue automatically when component of composer was detached.
        Since:
        6.5.1
        Default:
        true
      • eventName

        java.lang.String eventName
        Event name
        Since:
        7.0.3
        Default:
        ""