Package io.micronaut.context.annotation
Annotation Type Replaces
-
@Documented @Retention(RUNTIME) public @interface Replaces
Allows a bean to specify that it replaces another bean. Note that the bean to be replaced cannot be an
Infrastructure
bean.- Since:
- 1.0
- See Also:
Infrastructure
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description java.lang.Class
bean
java.lang.Class
factory
java.lang.String
named
The name of the qualifiers of the bean that should be replaced.java.lang.Class<? extends java.lang.annotation.Annotation>
qualifier
The name of the qualifiers of the bean that should be replaced.java.lang.Class
value
-