Annotation Type WireVariable


  • @Retention(RUNTIME)
    @Target({FIELD,METHOD})
    public @interface WireVariable
    Annotation for specifying variables to wire, from XEL, implicit objects, or custom variable resolvers. SelectorComposer.
    Since:
    6.0.0
    Author:
    simonpai
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      boolean rewireOnActivate
      If true, the variable will be rewired when the composer is deserialized in cluster environment.
      java.lang.String value
      The name of variable to wire.
    • Element Detail

      • value

        java.lang.String value
        The name of variable to wire. If empty, it will use field name or method name (without "set" prefix).
        Default:
        ""
      • rewireOnActivate

        boolean rewireOnActivate
        If true, the variable will be rewired when the composer is deserialized in cluster environment. Session and Webapp variables are always rewired.
        Default:
        false