Annotation Interface Wire


The annotation, which is used to mark the dependency injection point on the class fields. The name of the object can be provided as parameter, if the managed instance is a named one. You can name managed entities in the Managed annotation.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Configuration filter to identify the properties file.
    Optional.
  • Element Details

    • name

      String name
      Optional. The name of the managed instance. Managed instances are annotated with Managed annotation which can take "name" as optional annotation parameter. Dependency injection points may declare managed instance names, which need to be injected. If the dependency is not found, the value remains null.
      Returns:
      The managedInstanceName of the managed instance.
      Default:
      ""
    • filter

      String filter
      Configuration filter to identify the properties file.
      Returns:
      The configuration file filter.
      Default:
      ""