| 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.xml | Contains an abstract XML-based  BeanFactoryimplementation,
 including a standard "spring-beans" XSD. | 
| Modifier and Type | Method and Description | 
|---|---|
| static String[] | BeanFactoryUtils. beanNamesForAnnotationIncludingAncestors(ListableBeanFactory lbf,
                                        Class<? extends Annotation> annotationType)Get all bean names whose  Classhas the suppliedAnnotationtype, including those defined in ancestor factories, without creating any bean
 instances yet. | 
| static String[] | BeanFactoryUtils. beanNamesForTypeIncludingAncestors(ListableBeanFactory lbf,
                                  Class<?> type)Get all bean names for the given type, including those defined in ancestor
 factories. | 
| static String[] | BeanFactoryUtils. beanNamesForTypeIncludingAncestors(ListableBeanFactory lbf,
                                  Class<?> type,
                                  boolean includeNonSingletons,
                                  boolean allowEagerInit)Get all bean names for the given type, including those defined in ancestor
 factories. | 
| static String[] | BeanFactoryUtils. beanNamesForTypeIncludingAncestors(ListableBeanFactory lbf,
                                  org.springframework.core.ResolvableType type)Get all bean names for the given type, including those defined in ancestor
 factories. | 
| static String[] | BeanFactoryUtils. beanNamesForTypeIncludingAncestors(ListableBeanFactory lbf,
                                  org.springframework.core.ResolvableType type,
                                  boolean includeNonSingletons,
                                  boolean allowEagerInit)Get all bean names for the given type, including those defined in ancestor
 factories. | 
| static String[] | BeanFactoryUtils. beanNamesIncludingAncestors(ListableBeanFactory lbf)Return all bean names in the factory, including ancestor factories. | 
| static <T> T | BeanFactoryUtils. beanOfType(ListableBeanFactory lbf,
          Class<T> type)Return a single bean of the given type or subtypes, not looking in ancestor
 factories. | 
| static <T> T | BeanFactoryUtils. beanOfType(ListableBeanFactory lbf,
          Class<T> type,
          boolean includeNonSingletons,
          boolean allowEagerInit)Return a single bean of the given type or subtypes, not looking in ancestor
 factories. | 
| static <T> T | BeanFactoryUtils. beanOfTypeIncludingAncestors(ListableBeanFactory lbf,
                            Class<T> type)Return a single bean of the given type or subtypes, also picking up beans
 defined in ancestor bean factories if the current bean factory is a
 HierarchicalBeanFactory. | 
| static <T> T | BeanFactoryUtils. beanOfTypeIncludingAncestors(ListableBeanFactory lbf,
                            Class<T> type,
                            boolean includeNonSingletons,
                            boolean allowEagerInit)Return a single bean of the given type or subtypes, also picking up beans
 defined in ancestor bean factories if the current bean factory is a
 HierarchicalBeanFactory. | 
| static <T> Map<String,T> | BeanFactoryUtils. beansOfTypeIncludingAncestors(ListableBeanFactory lbf,
                             Class<T> type)Return all beans of the given type or subtypes, also picking up beans defined in
 ancestor bean factories if the current bean factory is a HierarchicalBeanFactory. | 
| static <T> Map<String,T> | BeanFactoryUtils. beansOfTypeIncludingAncestors(ListableBeanFactory lbf,
                             Class<T> type,
                             boolean includeNonSingletons,
                             boolean allowEagerInit)Return all beans of the given type or subtypes, also picking up beans defined in
 ancestor bean factories if the current bean factory is a HierarchicalBeanFactory. | 
| static int | BeanFactoryUtils. countBeansIncludingAncestors(ListableBeanFactory lbf)Count all beans in any hierarchy in which this factory participates. | 
| Modifier and Type | Method and Description | 
|---|---|
| static <T> Map<String,T> | BeanFactoryAnnotationUtils. qualifiedBeansOfType(ListableBeanFactory beanFactory,
                    Class<T> beanType,
                    String qualifier)Retrieve all bean of type  Tfrom the givenBeanFactorydeclaring a
 qualifier (e.g. | 
| Modifier and Type | Interface and Description | 
|---|---|
| interface  | ConfigurableListableBeanFactoryConfiguration interface to be implemented by most listable bean factories. | 
| Modifier and Type | Class and Description | 
|---|---|
| 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 | Class and Description | 
|---|---|
| class  | XmlBeanFactoryDeprecated. 
 as of Spring 3.1 in favor of  DefaultListableBeanFactoryandXmlBeanDefinitionReader |