Annotation Interface Install


@Retention(RUNTIME) @Documented @Target(METHOD) public @interface Install
Annotation for declarative handler methods in UI controllers.
Example:

 @Install(to = "textField", subject = "validator")
 private void textFieldValidator(final String value) {
     // validate value...
 }
 
See Also:
  • Element Details

    • target

      Target target
      Returns:
      type of target
      Default:
      COMPONENT
    • type

      Class<?> type
      Returns:
      type of functional interface, can be used instead of subject()
      Default:
      java.lang.Object.class
    • subject

      String subject
      Returns:
      property name that will be set using annotated method
      Default:
      ""
    • to

      String to
      Returns:
      id or path to target object
      Default:
      ""
    • required

      boolean required
      Declares whether the annotated dependency is required.

      Defaults to true.

      Default:
      true