Annotation Interface Listener


@Retention(RUNTIME) @Target({TYPE,ANNOTATION_TYPE}) @Inherited public @interface Listener
Configure how the listener is referenced in the event bus. The bus will use either strong or weak references to its registered listeners, depending on which reference type (@see References) is set.
  • Element Details

    • references

      References references
      BY DEFAULT, MBassador uses WeakReference. It is possible to use strong instead.
      Default:
      Weak