Package | Description |
---|---|
org.springframework.beans |
This package contains interfaces and classes for manipulating Java beans.
|
org.springframework.beans.factory |
The core package implementing Spring's lightweight Inversion of Control (IoC) container.
|
org.springframework.beans.factory.parsing |
Support infrastructure for bean definition parsing.
|
org.springframework.beans.factory.support |
Classes supporting the
org.springframework.beans.factory package. |
org.springframework.beans.factory.xml |
Contains an abstract XML-based
BeanFactory implementation,
including a standard "spring-beans" XSD. |
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.
|
Modifier and Type | Class and Description |
---|---|
class |
BeanInstantiationException
Exception thrown when instantiation of a bean failed.
|
class |
InvalidPropertyException
Exception thrown when referring to an invalid bean property.
|
class |
NotReadablePropertyException
Exception thrown on an attempt to get the value of a property
that isn't readable, because there's no getter method.
|
class |
NotWritablePropertyException
Exception thrown on an attempt to set the value of a property that
is not writable (typically because there is no setter method).
|
class |
NullValueInNestedPathException
Exception thrown when navigation of a valid nested property
path encounters a NullPointerException.
|
Modifier and Type | Class and Description |
---|---|
class |
BeanCreationException
Exception thrown when a BeanFactory encounters an error when
attempting to create a bean from a bean definition.
|
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 |
BeanDefinitionStoreException
Exception thrown when a BeanFactory encounters an invalid bean definition:
e.g.
|
class |
BeanExpressionException
Exception that indicates an expression evaluation attempt having failed.
|
class |
BeanInitializationException
Exception that a bean implementation is suggested to throw if its own
factory-aware initialization code fails.
|
class |
BeanIsAbstractException
Exception thrown when a bean instance has been requested for
a bean definition which has been marked as abstract.
|
class |
CannotLoadBeanClassException
Exception thrown when the BeanFactory cannot load the specified class
of a given bean.
|
class |
FactoryBeanNotInitializedException
Exception to be thrown from a FactoryBean's
getObject() method
if the bean is not fully initialized yet, for example because it is involved
in a circular reference. |
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 | Class and Description |
---|---|
class |
BeanDefinitionParsingException
Exception thrown when a bean definition reader encounters an error
during the parsing process.
|
Modifier and Type | Class and Description |
---|---|
class |
BeanDefinitionOverrideException
Subclass of
BeanDefinitionStoreException indicating an invalid override
attempt: typically registering a new definition for the same bean name while
DefaultListableBeanFactory.isAllowBeanDefinitionOverriding() is false . |
class |
BeanDefinitionValidationException
Exception thrown when the validation of a bean definition failed.
|
Modifier and Type | Class and Description |
---|---|
class |
XmlBeanDefinitionStoreException
XML-specific BeanDefinitionStoreException subclass that wraps a
SAXException , typically a SAXParseException
which contains information about the error location. |
Modifier and Type | Class and Description |
---|---|
class |
ApplicationContextException
Exception thrown during application context initialization.
|