Annotation Type InjectComponent

    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      boolean optional
      If true, allows the component to be missing without throwing an exception.
      String value
      The name of the component to inject.
    • Element Detail

      • value

        String value
        The name of the component to inject. Defaults to the name of the annotated field.
        Default:
        ""
      • optional

        boolean optional
        If true, allows the component to be missing without throwing an exception.
        Since:
        5.8.2
        Default:
        false