Inject (cayenne-doc: Cayenne Documentation 5.0-M2 API)
Description: declaration: package: org.apache.cayenne.di, annotation type: Inject

# Annotation Interface Inject

@Retention(RUNTIME) @Target({FIELD,PARAMETER}) public @interface Inject

Since:
  3.1

- ## Optional Element Summary

  Optional Elements
  Modifier and Type
  Optional Element
  Description
  `String`
  `value`
  An optional name of the dependency for injecting dependency types that have multiple bindings in the container.

- ## Element Details

  - ### value

    String value
    An optional name of the dependency for injecting dependency types that have multiple bindings in the container.
    Default:
      `""`