|
The Spring Framework | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.beans.factory.annotation.AnnotationConfigUtils
public class AnnotationConfigUtils
Utility class that allows for convenient registration of common
BeanPostProcessor
definitions for annotation-based configuration.
AutowiredAnnotationBeanPostProcessor
,
RequiredAnnotationBeanPostProcessor
,
CommonAnnotationBeanPostProcessor
Field Summary | |
---|---|
static String |
AUTOWIRED_ANNOTATION_PROCESSOR_BEAN_NAME
The bean name of the internally managed Autowired annotation processor. |
static String |
COMMON_ANNOTATION_PROCESSOR_BEAN_NAME
The bean name of the internally managed JSR-250 annotation processor. |
static String |
REQUIRED_ANNOTATION_PROCESSOR_BEAN_NAME
The bean name of the internally managed Required annotation processor. |
Constructor Summary | |
---|---|
AnnotationConfigUtils()
|
Method Summary | |
---|---|
static void |
registerAnnotationConfigProcessors(BeanDefinitionRegistry registry)
Register all relevant annotation post processors in the given registry. |
static void |
registerAnnotationConfigProcessors(BeanDefinitionRegistry registry,
Object source)
Register all relevant annotation post processors in the given registry. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String AUTOWIRED_ANNOTATION_PROCESSOR_BEAN_NAME
public static final String REQUIRED_ANNOTATION_PROCESSOR_BEAN_NAME
public static final String COMMON_ANNOTATION_PROCESSOR_BEAN_NAME
Constructor Detail |
---|
public AnnotationConfigUtils()
Method Detail |
---|
public static void registerAnnotationConfigProcessors(BeanDefinitionRegistry registry)
registry
- the registry to operate onpublic static void registerAnnotationConfigProcessors(BeanDefinitionRegistry registry, Object source)
registry
- the registry to operate onsource
- the configuration source element (already extracted)
that this registration was triggered from. May be null
.
|
The Spring Framework | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |