The core package implementing Spring's lightweight Inversion of Control (IoC) container.
Provides an alternative to the Singleton and Prototype design
patterns, including a consistent approach to configuration management.
Builds on the org.springframework.beans package.
This package and related packages are discussed in Chapter 11 of
Expert One-On-One J2EE Design and Development
by Rod Johnson (Wrox, 2002).
Interfaces
Aware |
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. |
BeanClassLoaderAware |
Callback that allows a bean to be aware of the bean
ClassLoader class loader; that is, the class loader used by the
present bean factory to load bean classes. |
BeanFactory |
The root interface for accessing a Spring bean container. |
BeanFactoryAware |
Interface to be implemented by beans that wish to be aware of their
owning BeanFactory . |
BeanNameAware |
Interface to be implemented by beans that want to be aware of their
bean name in a bean factory. |
DisposableBean |
Interface to be implemented by beans that want to release resources
on destruction. |
FactoryBean<T> |
Interface to be implemented by objects used within a BeanFactory
which are themselves factories. |
HierarchicalBeanFactory |
Sub-interface implemented by bean factories that can be part
of a hierarchy. |
InitializingBean |
Interface to be implemented by beans that need to react once all their
properties have been set by a BeanFactory: for example, to perform custom
initialization, or merely to check that all mandatory properties have been set. |
ListableBeanFactory |
Extension 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. |
NamedBean |
Counterpart of BeanNameAware. |
ObjectFactory<T> |
Defines a factory which can return an Object instance
(possibly shared or independent) when invoked. |
SmartFactoryBean<T> |
Extension of the FactoryBean interface. |
Classes
Exceptions