Annotation Interface Provided


@Scope @Retention(RUNTIME) @Deprecated(forRemoval=true, since="3.0.0") public @interface Provided
Deprecated, for removal: This API element is subject to removal in a future version.
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
Author:
Graeme Rocher
See Also: