| Package | Description | 
|---|---|
| org.springframework.beans.factory | The core package implementing Spring's lightweight Inversion of Control (IoC) container. | 
| org.springframework.beans.factory.annotation | Support package for annotation-driven bean configuration. | 
| org.springframework.beans.factory.config | SPI interfaces and configuration-related convenience classes for bean factories. | 
| org.springframework.beans.factory.support | Classes supporting the  org.springframework.beans.factorypackage. | 
| 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  BeanFactoryimplementation,
 including a standard "spring-beans" XSD. | 
| Modifier and Type | Interface and Description | 
|---|---|
| interface  | HierarchicalBeanFactorySub-interface implemented by bean factories that can be part
 of a hierarchy. | 
| interface  | ListableBeanFactoryExtension of the  BeanFactoryinterface 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. | 
| Modifier and Type | Method and Description | 
|---|---|
| BeanFactory | HierarchicalBeanFactory. getParentBeanFactory()Return the parent bean factory, or  nullif there is none. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | BeanFactoryAware. setBeanFactory(BeanFactory beanFactory)Callback that supplies the owning factory to a bean instance. | 
| Modifier and Type | Method and Description | 
|---|---|
| static boolean | BeanFactoryAnnotationUtils. isQualifierMatch(Predicate<String> qualifier,
                String beanName,
                BeanFactory beanFactory)Check whether the named bean declares a qualifier of the given name. | 
| static <T> T | BeanFactoryAnnotationUtils. qualifiedBeanOfType(BeanFactory beanFactory,
                   Class<T> beanType,
                   String qualifier)Obtain a bean of type  Tfrom the givenBeanFactorydeclaring a
 qualifier (e.g. | 
| void | AutowiredAnnotationBeanPostProcessor. setBeanFactory(BeanFactory beanFactory) | 
| void | RequiredAnnotationBeanPostProcessor. setBeanFactory(BeanFactory beanFactory)Deprecated.  | 
| Modifier and Type | Interface and Description | 
|---|---|
| interface  | AutowireCapableBeanFactoryExtension of the  BeanFactoryinterface to be implemented by bean factories that are capable of
 autowiring, provided that they want to expose this functionality for
 existing bean instances. | 
| interface  | ConfigurableBeanFactoryConfiguration interface to be implemented by most bean factories. | 
| interface  | ConfigurableListableBeanFactoryConfiguration interface to be implemented by most listable bean factories. | 
| Modifier and Type | Method and Description | 
|---|---|
| protected BeanFactory | AbstractFactoryBean. getBeanFactory()Return the BeanFactory that this bean runs in. | 
| Modifier and Type | Method and Description | 
|---|---|
| Object | DependencyDescriptor. resolveCandidate(String beanName,
                Class<?> requiredType,
                BeanFactory beanFactory)Resolve the specified bean name, as a candidate result of the matching
 algorithm for this dependency, to a bean instance from the given factory. | 
| Object | DependencyDescriptor. resolveShortcut(BeanFactory beanFactory)Resolve a shortcut for this dependency against the given factory, for example
 taking some pre-resolved information into account. | 
| void | PlaceholderConfigurerSupport. setBeanFactory(BeanFactory beanFactory)Only necessary to check that we're not parsing our own bean definition,
 to avoid failing on unresolvable placeholders in properties file locations. | 
| void | MethodInvokingBean. setBeanFactory(BeanFactory beanFactory) | 
| void | ServiceLocatorFactoryBean. setBeanFactory(BeanFactory beanFactory) | 
| void | PropertyPathFactoryBean. setBeanFactory(BeanFactory beanFactory) | 
| void | AbstractFactoryBean. setBeanFactory(BeanFactory beanFactory) | 
| void | ConfigurableBeanFactory. setParentBeanFactory(BeanFactory parentBeanFactory)Set the parent of this bean factory. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | AbstractAutowireCapableBeanFactoryAbstract bean factory superclass that implements default bean creation,
 with the full capabilities specified by the  RootBeanDefinitionclass. | 
| class  | AbstractBeanFactoryAbstract base class for  BeanFactoryimplementations, providing the full capabilities of theConfigurableBeanFactorySPI. | 
| class  | DefaultListableBeanFactorySpring's default implementation of the  ConfigurableListableBeanFactoryandBeanDefinitionRegistryinterfaces: a full-fledged bean factory
 based on bean definition metadata, extensible through post-processors. | 
| class  | StaticListableBeanFactoryStatic  BeanFactoryimplementation
 which allows to register existing singleton instances programmatically. | 
| Modifier and Type | Method and Description | 
|---|---|
| protected BeanFactory | GenericTypeAwareAutowireCandidateResolver. getBeanFactory() | 
| BeanFactory | AbstractBeanFactory. getParentBeanFactory() | 
| Modifier and Type | Method and Description | 
|---|---|
| Object | InstantiationStrategy. instantiate(RootBeanDefinition bd,
           String beanName,
           BeanFactory owner)Return an instance of the bean with the given name in this factory. | 
| Object | SimpleInstantiationStrategy. instantiate(RootBeanDefinition bd,
           String beanName,
           BeanFactory owner) | 
| Object | InstantiationStrategy. instantiate(RootBeanDefinition bd,
           String beanName,
           BeanFactory owner,
           Constructor<?> ctor,
           Object... args)Return an instance of the bean with the given name in this factory,
 creating it via the given constructor. | 
| Object | SimpleInstantiationStrategy. instantiate(RootBeanDefinition bd,
           String beanName,
           BeanFactory owner,
           Constructor<?> ctor,
           Object... args) | 
| Object | InstantiationStrategy. instantiate(RootBeanDefinition bd,
           String beanName,
           BeanFactory owner,
           Object factoryBean,
           Method factoryMethod,
           Object... args)Return an instance of the bean with the given name in this factory,
 creating it via the given factory method. | 
| Object | SimpleInstantiationStrategy. instantiate(RootBeanDefinition bd,
           String beanName,
           BeanFactory owner,
           Object factoryBean,
           Method factoryMethod,
           Object... args) | 
| protected Object | SimpleInstantiationStrategy. instantiateWithMethodInjection(RootBeanDefinition bd,
                              String beanName,
                              BeanFactory owner)Subclasses can override this method, which is implemented to throw
 UnsupportedOperationException, if they can instantiate an object with
 the Method Injection specified in the given RootBeanDefinition. | 
| protected Object | CglibSubclassingInstantiationStrategy. instantiateWithMethodInjection(RootBeanDefinition bd,
                              String beanName,
                              BeanFactory owner) | 
| protected Object | SimpleInstantiationStrategy. instantiateWithMethodInjection(RootBeanDefinition bd,
                              String beanName,
                              BeanFactory owner,
                              Constructor<?> ctor,
                              Object... args)Subclasses can override this method, which is implemented to throw
 UnsupportedOperationException, if they can instantiate an object with
 the Method Injection specified in the given RootBeanDefinition. | 
| protected Object | CglibSubclassingInstantiationStrategy. instantiateWithMethodInjection(RootBeanDefinition bd,
                              String beanName,
                              BeanFactory owner,
                              Constructor<?> ctor,
                              Object... args) | 
| void | GenericTypeAwareAutowireCandidateResolver. setBeanFactory(BeanFactory beanFactory) | 
| void | AbstractBeanFactory. setParentBeanFactory(BeanFactory parentBeanFactory) | 
| Constructor and Description | 
|---|
| AbstractAutowireCapableBeanFactory(BeanFactory parentBeanFactory)Create a new AbstractAutowireCapableBeanFactory with the given parent. | 
| AbstractBeanFactory(BeanFactory parentBeanFactory)Create a new AbstractBeanFactory with the given parent. | 
| DefaultListableBeanFactory(BeanFactory parentBeanFactory)Create a new DefaultListableBeanFactory with the given parent. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | BeanConfigurerSupport. setBeanFactory(BeanFactory beanFactory)Set the  BeanFactoryin which this aspect must configure beans. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | XmlBeanFactoryDeprecated. 
 as of Spring 3.1 in favor of  DefaultListableBeanFactoryandXmlBeanDefinitionReader | 
| Constructor and Description | 
|---|
| XmlBeanFactory(org.springframework.core.io.Resource resource,
              BeanFactory parentBeanFactory)Deprecated.  Create a new XmlBeanFactory with the given input stream,
 which must be parsable using DOM. |