Annotation Type DependencyMeta


Hold bean dependency metadata intended for internal use by code generation (Java annotation processing).
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    The bean type.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Type deemed to be reasonable to provide to external module.
    The list of dependencies.
    The bean factory method (for @Bean annotated methods).
    The qualified name of the dependency being provided.
    The interfaces the bean implements.
  • Element Details

    • name

      The qualified name of the dependency being provided.
      Default:
      ""
    • method

      The bean factory method (for @Bean annotated methods).
      Default:
      ""
    • provides

      The interfaces the bean implements.
      Default:
      {}
    • dependsOn

      The list of dependencies.
      Default:
      {}
    • autoProvides

      Type deemed to be reasonable to provide to external module.

      Used to support multiple module wiring automatically (as alternative to using explicit InjectModule annotation).

      Default:
      ""