BeanFactoryPostProcessor used for bootstrapping processing of
@Configuration classes.
Registered by default when using <context:annotation-config/> or
<context:component-scan/>. Otherwise, may be declared manually as
with any other BeanFactoryPostProcessor.
This post processor is priority-ordered as it is important that any
@Bean methods declared in @Configuration classes have
their corresponding bean definitions registered before any other
BeanFactoryPostProcessor executes.
| Modifier and Type | Class and Description |
|---|---|
| private static class | |
| private static class | |
| private static class | |
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private ApplicationStartup | |
| private ClassLoader | |
| private BeanNameGenerator | |
| private Environment | |
| private final Set | |
| public static final AnnotationBeanNameGenerator | IMPORT_BEAN_NAME_GENERATOR
A |
| private static final String | |
| private BeanNameGenerator | |
| private boolean | |
| private final Log | |
| private MetadataReaderFactory | |
| private ProblemReporter | |
| private List | |
| private ConfigurationClassBeanDefinitionReader | |
| private final Set | |
| private ResourceLoader | |
| private boolean | |
| private SourceExtractor |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | enhanceConfigurationClasses(ConfigurableListableBeanFactory beanFactory)
Post-processes a BeanFactory in search of Configuration class BeanDefinitions;
any candidates are then enhanced by a |
| public int | |
| public void | postProcessBeanDefinitionRegistry(BeanDefinitionRegistry
the bean definition registry used by the application context registry)
Derive further bean definitions from the configuration classes in the registry.
|
| public void | postProcessBeanFactory(ConfigurableListableBeanFactory
the bean factory used by the application context beanFactory)Overrides default org. |
| public BeanRegistrationAotContribution | processAheadOfTime(RegisteredBean
the registered bean to process registeredBean)Implements org. RegisteredBean instance ahead-of-time and
return a contribution or null.
|
| public BeanFactoryInitializationAotContribution | processAheadOfTime(ConfigurableListableBeanFactory
the bean factory to process beanFactory)Implements org. ConfigurableListableBeanFactory instance
ahead-of-time and return a contribution or null.
|
| public void | processConfigBeanDefinitions(BeanDefinitionRegistry registry)
Build and validate a configuration model based on the registry of
|
| private Resource | |
| public void | setApplicationStartup(ApplicationStartup
application startup to be used by this object applicationStartup)Implements org. |
| public void | setBeanClassLoader(ClassLoader
the owning class loader beanClassLoader)Implements org. class loader to
a bean instance.
|
| public void | setBeanNameGenerator(BeanNameGenerator beanNameGenerator)
Set the |
| public void | setEnvironment(Environment environment)
Implements org. Environment that this component runs in.
|
| public void | setMetadataReaderFactory(MetadataReaderFactory metadataReaderFactory)
Set the |
| public void | |
| public void | setResourceLoader(ResourceLoader
the ResourceLoader object to be used by this object resourceLoader)Implements org. This might be a ResourcePatternResolver, which can be checked
through |
| public void | setSourceExtractor(SourceExtractor sourceExtractor)
Set the |