Home » Spring-Framework-090522 » org.springframework » beans » factory »

org.springframework.beans.factory

Sub Packages:

org.springframework.beans.factory.access   Helper infrastructure to locate and access bean factories.  
org.springframework.beans.factory.access.el   Support classes for accessing a Spring BeanFactory from Unified EL.  
org.springframework.beans.factory.annotation   Support package for annotation-driven bean configuration.  
org.springframework.beans.factory.aspectj    
org.springframework.beans.factory.config   SPI interfaces and configuration-related convenience classes for bean factories.  
org.springframework.beans.factory.generic   Support package for generic BeanFactory access, leveraging Java 5 generics in the accessor API.  
org.springframework.beans.factory.parsing   Support infrastructure for bean definition parsing.  
org.springframework.beans.factory.serviceloader   Support package for the JDK 1.6 ServiceLoader facility.  
org.springframework.beans.factory.support   Classes supporting the org.springframework.beans.factory package.  
org.springframework.beans.factory.wiring   Mechanism to determine bean wiring metadata from a bean instance.  
org.springframework.beans.factory.xml   Contains an abstract XML-based BeanFactory implementation, including a standard "spring-beans" DTD.  

Interfaces:

BeanClassLoaderAware   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.  code | html
BeanFactory   The root interface for accessing a Spring bean container.  code | html
BeanFactoryAware   Interface to be implemented by beans that wish to be aware of their owning BeanFactory code | html
BeanNameAware   Interface to be implemented by beans that want to be aware of their bean name in a bean factory.  code | html
DisposableBean   Interface to be implemented by beans that want to release resources on destruction.  code | html
FactoryBean   Interface to be implemented by objects used within a BeanFactory which are themselves factories.  code | html
HierarchicalBeanFactory   Sub-interface implemented by bean factories that can be part of a hierarchy.  code | html
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.  code | html
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.  code | html
NamedBean   Counterpart of BeanNameAware.  code | html
ObjectFactory   Defines a factory which can return an Object instance (possibly shared or independent) when invoked.  code | html
SmartFactoryBean   Extension of the FactoryBean interface.  code | html

Abstract Classes:

BeanFactoryUtils   Convenience methods operating on bean factories, in particular on the ListableBeanFactory interface.  code | html

Classes:

BeanCreationException   Exception thrown when a BeanFactory encounters an error when attempting to create a bean from a bean definition.  code | html
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).  code | html
BeanCurrentlyInCreationException   Exception thrown in case of a reference to a bean that's currently in creation.  code | html
BeanDefinitionStoreException   Exception thrown when a BeanFactory encounters an invalid bean definition: e.g.  code | html
BeanExpressionException   Exception that indicates an expression evaluation attempt having failed.  code | html
BeanInitializationException   Exception that a bean implementation is suggested to throw if its own factory-aware initialization code fails.  code | html
BeanIsAbstractException   Exception thrown when a bean instance has been requested for a bean which has been defined as abstract  code | html
BeanIsNotAFactoryException   Exception thrown when a bean is not a factory, but a user tries to get at the factory for the given bean name.  code | html
BeanNotOfRequiredTypeException   Thrown when a bean doesn't match the expected type.  code | html
CannotLoadBeanClassException   Exception thrown when the BeanFactory cannot load the specified class of a given bean.  code | html
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.  code | html
NoSuchBeanDefinitionException   Exception thrown when a BeanFactory is asked for a bean instance name for which it cannot find a definition.  code | html
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.  code | html