Annotation Type 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 rewireOnActivate
      If true, the component will be rewired when the composer is deserialized in cluster environment.
      java.lang.String value
      The selector string that specifies the Components to wire.
    • Element Detail

      • value

        java.lang.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