Package io.micronaut.context.annotation
Annotation Type Provided
-
@Scope @Retention(RUNTIME) @Deprecated public @interface Provided
Deprecated.Use the typed member of theBean
annotation insteadProvided 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.