@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 | 
|---|---|
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  | 
public abstract java.lang.Class factory