@Documented @Retention(value=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.
Infrastructure| Modifier and Type | Optional Element and Description |
|---|---|
Class |
bean |
Class |
factory |
String |
named
The name of the qualifiers of the bean that should be replaced.
|
Class<? extends Annotation>[] |
qualifier
The name of the qualifiers of the bean that should be replaced.
|
Class |
value |
public abstract Class factory
public abstract Class<? extends Annotation>[] qualifier
public abstract String named