接口的使用
org.springframework.beans.factory.config.BeanFactoryPostProcessor
使用BeanFactoryPostProcessor的程序包 程序包 说明 org.springframework.beans.factory.annotation Support package for annotation-driven bean configuration.org.springframework.beans.factory.config SPI interfaces and configuration-related convenience classes for bean factories.org.springframework.beans.factory.support Classes supporting theorg.springframework.beans.factory
package.org.springframework.context This package builds on the beans package to add support for message sources and for the Observer design pattern, and the ability for application objects to obtain resources using a consistent API.org.springframework.context.annotation Annotation support for the Application Context, including JSR-250 "common" annotations, component-scanning, and Java-based metadata for creating Spring-managed objects.org.springframework.context.event Support classes for application events, like standard context events.org.springframework.context.support Classes supporting the org.springframework.context package, such as abstract base classes for ApplicationContext implementations and a MessageSource implementation.org.springframework.context.weaving Load-time weaving support for a Spring application context, building on Spring'sLoadTimeWeaver
abstraction.org.springframework.beans.factory.annotation中BeanFactoryPostProcessor的使用
实现BeanFactoryPostProcessor的org.springframework.beans.factory.annotation中的类 修饰符和类型 类 说明 class
CustomAutowireConfigurer
ABeanFactoryPostProcessor
implementation that allows for convenient registration of custom autowire qualifier types.org.springframework.beans.factory.config中BeanFactoryPostProcessor的使用
实现BeanFactoryPostProcessor的org.springframework.beans.factory.config中的类 修饰符和类型 类 说明 class
CustomEditorConfigurer
BeanFactoryPostProcessor
implementation that allows for convenient registration of customproperty editors
.class
CustomScopeConfigurer
SimpleBeanFactoryPostProcessor
implementation that registers customScope(s)
with the containingConfigurableBeanFactory
.class
DeprecatedBeanWarner
Bean factory post processor that logs a warning for@Deprecated
beans.class
PlaceholderConfigurerSupport
Abstract base class for property resource configurers that resolve placeholders in bean definition property values.class
PreferencesPlaceholderConfigurer
已过时。as of 5.2, along withPropertyPlaceholderConfigurer
class
PropertyOverrideConfigurer
Property resource configurer that overrides bean property values in an application context definition.class
PropertyPlaceholderConfigurer
已过时。as of 5.2; useorg.springframework.context.support.PropertySourcesPlaceholderConfigurer
instead which is more flexible through taking advantage of theEnvironment
andPropertySource
mechanisms.class
PropertyResourceConfigurer
Allows for configuration of individual bean property values from a property resource, i.e. a properties file.org.springframework.beans.factory.support中BeanFactoryPostProcessor的使用
org.springframework.beans.factory.support中BeanFactoryPostProcessor的子接口 修饰符和类型 接口 说明 interface
BeanDefinitionRegistryPostProcessor
Extension to the standardBeanFactoryPostProcessor
SPI, allowing for the registration of further bean definitions before regular BeanFactoryPostProcessor detection kicks in.org.springframework.context中BeanFactoryPostProcessor的使用
参数类型为BeanFactoryPostProcessor的org.springframework.context中的方法 修饰符和类型 方法 说明 void
ConfigurableApplicationContext. addBeanFactoryPostProcessor(BeanFactoryPostProcessor postProcessor)
Add a new BeanFactoryPostProcessor that will get applied to the internal bean factory of this application context on refresh, before any of the bean definitions get evaluated.org.springframework.context.annotation中BeanFactoryPostProcessor的使用
实现BeanFactoryPostProcessor的org.springframework.context.annotation中的类 修饰符和类型 类 说明 class
ConfigurationClassPostProcessor
BeanFactoryPostProcessor
used for bootstrapping processing of@Configuration
classes.org.springframework.context.event中BeanFactoryPostProcessor的使用
实现BeanFactoryPostProcessor的org.springframework.context.event中的类 修饰符和类型 类 说明 class
EventListenerMethodProcessor
RegistersEventListener
methods as individualApplicationListener
instances.org.springframework.context.support中BeanFactoryPostProcessor的使用
实现BeanFactoryPostProcessor的org.springframework.context.support中的类 修饰符和类型 类 说明 class
PropertySourcesPlaceholderConfigurer
Specialization ofPlaceholderConfigurerSupport
that resolves ${...} placeholders within bean definition property values and@Value
annotations against the current SpringEnvironment
and its set ofPropertySources
.返回变量类型为BeanFactoryPostProcessor的类型的org.springframework.context.support中的方法 修饰符和类型 方法 说明 List<BeanFactoryPostProcessor>
AbstractApplicationContext. getBeanFactoryPostProcessors()
Return the list of BeanFactoryPostProcessors that will get applied to the internal BeanFactory.参数类型为BeanFactoryPostProcessor的org.springframework.context.support中的方法 修饰符和类型 方法 说明 void
AbstractApplicationContext. addBeanFactoryPostProcessor(BeanFactoryPostProcessor postProcessor)
org.springframework.context.weaving中BeanFactoryPostProcessor的使用
实现BeanFactoryPostProcessor的org.springframework.context.weaving中的类 修饰符和类型 类 说明 class
AspectJWeavingEnabler
Post-processor that registers AspectJ'sClassPreProcessorAgentAdapter
with the Spring application context's defaultLoadTimeWeaver
.