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