Annotation Interface Wire


@Retention(RUNTIME) @Target({FIELD,METHOD}) public @interface Wire
Annotation for specifying components to wire. SelectorComposer.
Since:
6.0.0
Author:
simonpai
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    boolean
    If true, the component will be rewired when the composer is deserialized in cluster environment.
    The selector string that specifies the Components to wire.
  • Element Details

    • value

      String value
      The selector string that specifies the Components to wire. If empty, SelectorComposer will attempt to wire from fellows by name.
      Default:
      ""
    • rewireOnActivate

      boolean rewireOnActivate
      If true, the component will be rewired when the composer is deserialized in cluster environment.
      Default:
      false