Package | Description |
---|---|
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 the
org.springframework.beans.factory package. |
Modifier and Type | Class and Description |
---|---|
class |
AutowiredAnnotationBeanPostProcessor
BeanPostProcessor
implementation that autowires annotated fields, setter methods, and arbitrary
config methods. |
class |
InitDestroyAnnotationBeanPostProcessor
BeanPostProcessor implementation
that invokes annotated init and destroy methods. |
class |
RequiredAnnotationBeanPostProcessor
Deprecated.
as of 5.1, in favor of using constructor injection for required settings
(or a custom
InitializingBean implementation) |
Modifier and Type | Interface and Description |
---|---|
interface |
DestructionAwareBeanPostProcessor
Subinterface of
BeanPostProcessor that adds a before-destruction callback. |
interface |
InstantiationAwareBeanPostProcessor
Subinterface of
BeanPostProcessor that adds a before-instantiation callback,
and a callback after instantiation but before explicit properties are set or
autowiring occurs. |
interface |
SmartInstantiationAwareBeanPostProcessor
Extension of the
InstantiationAwareBeanPostProcessor interface,
adding a callback for predicting the eventual type of a processed bean. |
Modifier and Type | Class and Description |
---|---|
class |
InstantiationAwareBeanPostProcessorAdapter
Deprecated.
as of 5.3 in favor of implementing
InstantiationAwareBeanPostProcessor
or SmartInstantiationAwareBeanPostProcessor directly. |
Modifier and Type | Method and Description |
---|---|
void |
ConfigurableBeanFactory.addBeanPostProcessor(BeanPostProcessor beanPostProcessor)
Add a new BeanPostProcessor that will get applied to beans created
by this factory.
|
Modifier and Type | Interface and Description |
---|---|
interface |
MergedBeanDefinitionPostProcessor
Post-processor callback interface for merged bean definitions at runtime.
|
Modifier and Type | Method and Description |
---|---|
List<BeanPostProcessor> |
AbstractBeanFactory.getBeanPostProcessors()
Return the list of BeanPostProcessors that will get applied
to beans created with this factory.
|
Modifier and Type | Method and Description |
---|---|
void |
AbstractBeanFactory.addBeanPostProcessor(BeanPostProcessor beanPostProcessor) |
Modifier and Type | Method and Description |
---|---|
void |
AbstractBeanFactory.addBeanPostProcessors(Collection<? extends BeanPostProcessor> beanPostProcessors)
Add new BeanPostProcessors that will get applied to beans created
by this factory.
|