org.springframework.beans.factory.config.BeanPostProcessor and
org.springframework.beans.factory.config.BeanFactoryPostProcessor
definitions for annotation-based configuration. Also registers a common
org.springframework.beans.factory.support.AutowireCandidateResolver .
ContextAnnotationAutowireCandidateResolver, ConfigurationClassPostProcessor, CommonAnnotationBeanPostProcessor, org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor , org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor
| Modifier and Type | Field and Description |
|---|---|
| public static final String | AUTOWIRED_ANNOTATION_PROCESSOR_BEAN_NAME
The bean name of the internally managed Autowired annotation processor. |
| private static final ClassLoader | |
| public static final String | COMMON_ANNOTATION_PROCESSOR_BEAN_NAME
The bean name of the internally managed common annotation processor. |
| public static final String | CONFIGURATION_ANNOTATION_PROCESSOR_BEAN_NAME
The bean name of the internally managed Configuration annotation processor. |
| public static final String | CONFIGURATION_BEAN_NAME_GENERATOR
The bean name of the internally managed BeanNameGenerator for use when processing
|
| public static final String | EVENT_LISTENER_FACTORY_BEAN_NAME
The bean name of the internally managed EventListenerFactory. |
| public static final String | EVENT_LISTENER_PROCESSOR_BEAN_NAME
The bean name of the internally managed @EventListener annotation processor. |
| private static final boolean | |
| private static final boolean | |
| private static final boolean | |
| public static final String | PERSISTENCE_ANNOTATION_PROCESSOR_BEAN_NAME
The bean name of the internally managed JPA annotation processor. |
| private static final String |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv static BeanDefinitionHolder | applyScopedProxyMode(ScopeMetadata metadata, BeanDefinitionHolder definition, BeanDefinitionRegistry registry)
|
| pack-priv static AnnotationAttributes | |
| pack-priv static AnnotationAttributes | |
| pack-priv static Set | attributesForRepeatable(AnnotationMetadata metadata, Class<? extends Annotation> annotationType, Class<? extends Annotation> containerType, Predicate<MergedAnnotation<? extends Annotation>> predicate)
|
| pack-priv static Set | attributesForRepeatable(AnnotationMetadata metadata, Class<? extends Annotation> annotationType, Class<? extends Annotation> containerType, boolean sortByReversedMetaDistance)
|
| public static void | |
| pack-priv static void | |
| public static void | registerAnnotationConfigProcessors(BeanDefinitionRegistry
the registry to operate on registry)Register all relevant annotation post processors in the given registry. |
| public static Set | Returns: a Set of BeanDefinitionHolders, containing all bean definitions that have actually been registered by this callthe registry to operate on registry, Object the configuration source element (already extracted)
that this registration was triggered from. May be source)null.Register all relevant annotation post processors in the given registry. |
| private static BeanDefinitionHolder | registerPostProcessor(BeanDefinitionRegistry registry, RootBeanDefinition definition, String beanName)
|
| private static DefaultListableBeanFactory |
| AUTOWIRED_ANNOTATION_PROCESSOR_BEAN_NAME | back to summary |
|---|---|
| public static final String AUTOWIRED_ANNOTATION_PROCESSOR_BEAN_NAME The bean name of the internally managed Autowired annotation processor. | |
| classLoader | back to summary |
|---|---|
| private static final ClassLoader classLoader | |
| COMMON_ANNOTATION_PROCESSOR_BEAN_NAME | back to summary |
|---|---|
| public static final String COMMON_ANNOTATION_PROCESSOR_BEAN_NAME The bean name of the internally managed common annotation processor. | |
| CONFIGURATION_ANNOTATION_PROCESSOR_BEAN_NAME | back to summary |
|---|---|
| public static final String CONFIGURATION_ANNOTATION_PROCESSOR_BEAN_NAME The bean name of the internally managed Configuration annotation processor. | |
| CONFIGURATION_BEAN_NAME_GENERATOR | back to summary |
|---|---|
| public static final String CONFIGURATION_BEAN_NAME_GENERATOR The bean name of the internally managed BeanNameGenerator for use when processing
| |
| EVENT_LISTENER_FACTORY_BEAN_NAME | back to summary |
|---|---|
| public static final String EVENT_LISTENER_FACTORY_BEAN_NAME The bean name of the internally managed EventListenerFactory. | |
| EVENT_LISTENER_PROCESSOR_BEAN_NAME | back to summary |
|---|---|
| public static final String EVENT_LISTENER_PROCESSOR_BEAN_NAME The bean name of the internally managed @EventListener annotation processor. | |
| jakartaAnnotationsPresent | back to summary |
|---|---|
| private static final boolean jakartaAnnotationsPresent | |
| jpaPresent | back to summary |
|---|---|
| private static final boolean jpaPresent | |
| jsr250Present | back to summary |
|---|---|
| private static final boolean jsr250Present | |
| PERSISTENCE_ANNOTATION_PROCESSOR_BEAN_NAME | back to summary |
|---|---|
| public static final String PERSISTENCE_ANNOTATION_PROCESSOR_BEAN_NAME The bean name of the internally managed JPA annotation processor. | |
| PERSISTENCE_ANNOTATION_PROCESSOR_CLASS_NAME | back to summary |
|---|---|
| private static final String PERSISTENCE_ANNOTATION_PROCESSOR_CLASS_NAME | |
| AnnotationConfigUtils | back to summary |
|---|---|
| public AnnotationConfigUtils() | |
| applyScopedProxyMode | back to summary |
|---|---|
| pack-priv static BeanDefinitionHolder applyScopedProxyMode(ScopeMetadata metadata, BeanDefinitionHolder definition, BeanDefinitionRegistry registry) | |
| attributesFor | back to summary |
|---|---|
pack-priv static AnnotationAttributes attributesFor(AnnotatedTypeMetadata metadata, Class<?> annotationType)
| |
| attributesFor | back to summary |
|---|---|
pack-priv static AnnotationAttributes attributesFor(AnnotatedTypeMetadata metadata, String annotationTypeName)
| |
| attributesForRepeatable | back to summary |
|---|---|
| pack-priv static Set | |
| attributesForRepeatable | back to summary |
|---|---|
| pack-priv static Set | |
| processCommonDefinitionAnnotations | back to summary |
|---|---|
| public static void processCommonDefinitionAnnotations(AnnotatedBeanDefinition abd) | |
| processCommonDefinitionAnnotations | back to summary |
|---|---|
| pack-priv static void processCommonDefinitionAnnotations(AnnotatedBeanDefinition abd, AnnotatedTypeMetadata metadata) | |
| registerAnnotationConfigProcessors | back to summary |
|---|---|
| public static void registerAnnotationConfigProcessors(BeanDefinitionRegistry registry) Register all relevant annotation post processors in the given registry.
| |
| registerAnnotationConfigProcessors | back to summary |
|---|---|
| public static Set Register all relevant annotation post processors in the given registry.
| |
| registerPostProcessor | back to summary |
|---|---|
| private static BeanDefinitionHolder registerPostProcessor(BeanDefinitionRegistry registry, RootBeanDefinition definition, String beanName) | |
| unwrapDefaultListableBeanFactory | back to summary |
|---|---|
private static DefaultListableBeanFactory unwrapDefaultListableBeanFactory(BeanDefinitionRegistry registry)
| |