Package | Description |
---|---|
org.springframework.beans.factory |
The core package implementing Spring's lightweight Inversion of Control (IoC) container.
|
org.springframework.beans.factory.annotation |
Support package for annotation-driven bean configuration.
|
org.springframework.beans.factory.support |
Classes supporting the
org.springframework.beans.factory package. |
Modifier and Type | Class and Description |
---|---|
class |
BeanCreationNotAllowedException
Exception thrown in case of a bean being requested despite
bean creation currently not being allowed (for example, during
the shutdown phase of a bean factory).
|
class |
BeanCurrentlyInCreationException
Exception thrown in case of a reference to a bean that's currently in creation.
|
class |
BeanIsAbstractException
Exception thrown when a bean instance has been requested for
a bean definition which has been marked as abstract.
|
class |
UnsatisfiedDependencyException
Exception thrown when a bean depends on other beans or simple properties
that were not specified in the bean factory definition, although
dependency checking was enabled.
|
Modifier and Type | Method and Description |
---|---|
java.lang.reflect.Constructor<?>[] |
AutowiredAnnotationBeanPostProcessor.determineCandidateConstructors(java.lang.Class<?> beanClass,
java.lang.String beanName) |
PropertyValues |
AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(PropertyValues pvs,
java.beans.PropertyDescriptor[] pds,
java.lang.Object bean,
java.lang.String beanName) |
void |
AutowiredAnnotationBeanPostProcessor.processInjection(java.lang.Object bean)
'Native' processing method for direct calls with an arbitrary target instance,
resolving all of its fields and methods which are annotated with
@Autowired . |
Modifier and Type | Method and Description |
---|---|
protected java.lang.Object |
AbstractAutowireCapableBeanFactory.createBean(java.lang.String beanName,
RootBeanDefinition mbd,
java.lang.Object[] args)
Central method of this class: creates a bean instance,
populates the bean instance, applies post-processors, etc.
|
protected abstract java.lang.Object |
AbstractBeanFactory.createBean(java.lang.String beanName,
RootBeanDefinition mbd,
java.lang.Object[] args)
Create a bean instance for the given merged bean definition (and arguments).
|
protected java.lang.Object |
AbstractAutowireCapableBeanFactory.doCreateBean(java.lang.String beanName,
RootBeanDefinition mbd,
java.lang.Object[] args)
Actually create the specified bean.
|