Uses of Class
org.springframework.beans.factory.BeanCreationException
Package
Description
The core package implementing Spring's lightweight Inversion of Control (IoC) container.
Support package for annotation-driven bean configuration.
Classes supporting the
org.springframework.beans.factory
package.Annotation support for the Application Context, including JSR-250 "common"
annotations, component-scanning, and Java-based metadata for creating
Spring-managed objects.
-
Uses of BeanCreationException in org.springframework.beans.factory
Modifier and TypeClassDescriptionclass
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
Exception thrown in case of a reference to a bean that's currently in creation.class
Exception thrown when a bean instance has been requested for a bean definition which has been marked as abstract.class
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. -
Uses of BeanCreationException in org.springframework.beans.factory.annotation
Modifier and TypeMethodDescriptionClass<?>
AutowiredAnnotationBeanPostProcessor.determineBeanType
(Class<?> beanClass, String beanName) Constructor<?>[]
AutowiredAnnotationBeanPostProcessor.determineCandidateConstructors
(Class<?> beanClass, String beanName) void
AutowiredAnnotationBeanPostProcessor.processInjection
(Object bean) Native processing method for direct calls with an arbitrary target instance, resolving all of its fields and methods which are annotated with one of the configured 'autowired' annotation types. -
Uses of BeanCreationException in org.springframework.beans.factory.support
Modifier and TypeClassDescriptionclass
A subclass ofBeanCreationException
which indicates that the target scope is not active, e.g.Modifier and TypeMethodDescriptionprotected Object
AbstractAutowireCapableBeanFactory.createBean
(String beanName, RootBeanDefinition mbd, Object[] args) Central method of this class: creates a bean instance, populates the bean instance, applies post-processors, etc.protected abstract Object
AbstractBeanFactory.createBean
(String beanName, RootBeanDefinition mbd, Object[] args) Create a bean instance for the given merged bean definition (and arguments).protected Object
AbstractAutowireCapableBeanFactory.doCreateBean
(String beanName, RootBeanDefinition mbd, Object[] args) Actually create the specified bean. -
Uses of BeanCreationException in org.springframework.context.annotation
Modifier and TypeMethodDescriptionvoid
CommonAnnotationBeanPostProcessor.processInjection
(Object bean) Native processing method for direct calls with an arbitrary target instance, resolving all of its fields and methods which are annotated with one of the supported 'resource' annotation types.