Annotation Type Provided


  • @Scope
    @Retention(RUNTIME)
    @Deprecated
    public @interface Provided
    Deprecated.
    Use the typed member of the Bean annotation instead

    Provided scope is used to define a bean that should not be considered a candidate for dependency injection because it is provided by another bean. This scope is used when, for example, you have a factory bean that returns a bean that also requires dependency injection.

    Since:
    1.0
    See Also:
    Bean, Factory