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
Chris Beams, Juergen Hoeller, Phillip Webb
Fields inherited from interface org.springframework.core.Ordered
Used to register any problems detected with Configuration or Bean
declarations. For instance, an @Bean method marked as final is illegal
and would be reported as a problem. Defaults to FailFastProblemReporter.
Note that this strategy does not apply to Bean methods.
This setter is typically only appropriate when configuring the post-processor as
a standalone bean definition in XML, e.g. not using the dedicated
AnnotationConfig* application contexts or the <context:annotation-config> element. Any bean name generator specified against
the application context will take precedence over any value set here.
This might be a ResourcePatternResolver, which can be checked
through instanceof ResourcePatternResolver. See also the
Invoked after population of normal bean properties but before an init callback
like InitializingBean's afterPropertiesSet or a custom init-method.
Invoked before ApplicationContextAware's setApplicationContext.
Post-processes a BeanFactory in search of Configuration class BeanDefinitions;
any candidates are then enhanced by a ConfigurationClassEnhancer.
Candidate status is determined by BeanDefinition attribute metadata.