Annotation 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
- Author:
- Graeme Rocher
- See Also:
-
Field Details
-
MEMBER_NAMED
- See Also:
-
MEMBER_FACTORY
- See Also:
-
MEMBER_BEAN
- See Also:
-
MEMBER_QUALIFIER
- See Also:
-
-
Element Details
-
value
-
bean
-
factory
-
qualifier
Class<? extends Annotation> qualifierThe name of the qualifiers of the bean that should be replaced.- Returns:
- The qualifier
- Default:
java.lang.annotation.Annotation.class
-
named
String namedThe name of the qualifiers of the bean that should be replaced.- Returns:
- The qualifier
- Default:
""
-