Uses of Package
org.springframework.beans.factory
Package
Description
The core package implementing Spring's lightweight Inversion of Control (IoC) container.
Support package for annotation-driven bean configuration.
AOT support for bean factories.
SPI interfaces and configuration-related convenience classes for bean factories.
Support package for Groovy-based bean definitions.
Support infrastructure for bean definition parsing.
Support package for the Java
ServiceLoader
facility.Classes supporting the
org.springframework.beans.factory
package.Mechanism to determine bean wiring metadata from a bean instance.
Contains an abstract XML-based
BeanFactory
implementation,
including a standard "spring-beans" XSD.-
ClassDescriptionA marker superinterface indicating that a bean is eligible to be notified by the Spring container of a particular framework object through a callback-style method.Exception thrown when a BeanFactory encounters an error when attempting to create a bean from a bean definition.The root interface for accessing a Spring bean container.Thrown when a bean doesn't match the expected type.Interface to be implemented by objects used within a
BeanFactory
which are themselves factories for individual objects.A simple descriptor for an injection point, pointing to a method/constructor parameter or a field.Extension of theBeanFactory
interface to be implemented by bean factories that can enumerate all their bean instances, rather than attempting bean lookup by name one by one as requested by clients.Exception thrown when aBeanFactory
is asked for a bean instance for which it cannot find a definition.Defines a factory which can return an Object instance (possibly shared or independent) when invoked.A variant ofObjectFactory
designed specifically for injection points, allowing for programmatic optionality and lenient not-unique handling. -
ClassDescriptionA marker superinterface indicating that a bean is eligible to be notified by the Spring container of a particular framework object through a callback-style method.Callback that allows a bean to be aware of the bean
class loader
; that is, the class loader used by the present bean factory to load bean classes.Exception thrown when a BeanFactory encounters an error when attempting to create a bean from a bean definition.The root interface for accessing a Spring bean container.Interface to be implemented by beans that wish to be aware of their owningBeanFactory
.Extension of theBeanFactory
interface to be implemented by bean factories that can enumerate all their bean instances, rather than attempting bean lookup by name one by one as requested by clients. -
ClassDescriptionExtension of the
BeanFactory
interface to be implemented by bean factories that can enumerate all their bean instances, rather than attempting bean lookup by name one by one as requested by clients. -
ClassDescriptionA marker superinterface indicating that a bean is eligible to be notified by the Spring container of a particular framework object through a callback-style method.Callback that allows a bean to be aware of the bean
class loader
; that is, the class loader used by the present bean factory to load bean classes.Exception thrown when a BeanFactory encounters an invalid bean definition: e.g.The root interface for accessing a Spring bean container.Interface to be implemented by beans that wish to be aware of their owningBeanFactory
.Interface to be implemented by beans that want to be aware of their bean name in a bean factory.Interface to be implemented by beans that want to release resources on destruction.Interface to be implemented by objects used within aBeanFactory
which are themselves factories for individual objects.Sub-interface implemented by bean factories that can be part of a hierarchy.Interface to be implemented by beans that need to react once all their properties have been set by aBeanFactory
: e.g.A simple descriptor for an injection point, pointing to a method/constructor parameter or a field.Extension of theBeanFactory
interface to be implemented by bean factories that can enumerate all their bean instances, rather than attempting bean lookup by name one by one as requested by clients.Counterpart ofBeanNameAware
.Exception thrown when aBeanFactory
is asked for a bean instance for which it cannot find a definition.Defines a factory which can return an Object instance (possibly shared or independent) when invoked. -
ClassDescriptionException thrown when a BeanFactory encounters an invalid bean definition: e.g.
-
ClassDescriptionException thrown when a BeanFactory encounters an invalid bean definition: e.g.
-
ClassDescriptionA marker superinterface indicating that a bean is eligible to be notified by the Spring container of a particular framework object through a callback-style method.Callback that allows a bean to be aware of the bean
class loader
; that is, the class loader used by the present bean factory to load bean classes.Interface to be implemented by beans that wish to be aware of their owningBeanFactory
.Interface to be implemented by beans that want to release resources on destruction.Interface to be implemented by objects used within aBeanFactory
which are themselves factories for individual objects.Interface to be implemented by beans that need to react once all their properties have been set by aBeanFactory
: e.g. -
ClassDescriptionA marker superinterface indicating that a bean is eligible to be notified by the Spring container of a particular framework object through a callback-style method.Exception thrown when a BeanFactory encounters an error when attempting to create a bean from a bean definition.Exception thrown when a BeanFactory encounters an invalid bean definition: e.g.The root interface for accessing a Spring bean container.Interface to be implemented by beans that wish to be aware of their owning
BeanFactory
.Exception thrown when the BeanFactory cannot load the specified class of a given bean.Interface to be implemented by beans that want to release resources on destruction.Interface to be implemented by objects used within aBeanFactory
which are themselves factories for individual objects.Sub-interface implemented by bean factories that can be part of a hierarchy.Extension of theBeanFactory
interface to be implemented by bean factories that can enumerate all their bean instances, rather than attempting bean lookup by name one by one as requested by clients.Exception thrown when aBeanFactory
is asked for a bean instance for which it cannot find a definition.Defines a factory which can return an Object instance (possibly shared or independent) when invoked.A variant ofObjectFactory
designed specifically for injection points, allowing for programmatic optionality and lenient not-unique handling.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. -
ClassDescriptionA marker superinterface indicating that a bean is eligible to be notified by the Spring container of a particular framework object through a callback-style method.The root interface for accessing a Spring bean container.Interface to be implemented by beans that wish to be aware of their owning
BeanFactory
.Interface to be implemented by beans that want to release resources on destruction.Interface to be implemented by beans that need to react once all their properties have been set by aBeanFactory
: e.g. -
ClassDescriptionException thrown when a BeanFactory encounters an invalid bean definition: e.g.