Annotation Interface Inject


@Retention(RUNTIME) @Target({FIELD,PARAMETER}) public @interface Inject
The fields of an extension class that are annotated with Injected and have a type of other extension points will be automatically assigned.

This feature provides a minimal inversion of control mechanism, restricted to extensions managed by the ExtensionManager.

  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Name of a specific extension to be injected, in case of more than one is available and the priority mechanism does not provide enough control.
  • Element Details

    • value

      String value
      Name of a specific extension to be injected, in case of more than one is available and the priority mechanism does not provide enough control. Such extensions must inform the Extension.name() property.
      Default:
      ""