Uses of Interface
org.springframework.beans.factory.ListableBeanFactory
Packages that use ListableBeanFactory
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.
Classes supporting the
org.springframework.beans.factory package.-
Uses of ListableBeanFactory in org.springframework.beans.factory
Classes in org.springframework.beans.factory with type parameters of type ListableBeanFactoryModifier and TypeInterfaceDescriptioninterfaceBeanFactoryInitializer<F extends ListableBeanFactory>Callback interface for initializing a SpringListableBeanFactoryprior to entering the singleton pre-instantiation phase.Methods in org.springframework.beans.factory with parameters of type ListableBeanFactoryModifier and TypeMethodDescriptionstatic String[]BeanFactoryUtils.beanNamesForAnnotationIncludingAncestors(ListableBeanFactory lbf, Class<? extends Annotation> annotationType) Get all bean names whoseClasshas 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> TBeanFactoryUtils.beanOfType(ListableBeanFactory lbf, Class<T> type) Return a single bean of the given type or subtypes, not looking in ancestor factories.static <T> TBeanFactoryUtils.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> TBeanFactoryUtils.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> TBeanFactoryUtils.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.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.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 intBeanFactoryUtils.countBeansIncludingAncestors(ListableBeanFactory lbf) Count all beans in any hierarchy in which this factory participates. -
Uses of ListableBeanFactory in org.springframework.beans.factory.annotation
Methods in org.springframework.beans.factory.annotation with parameters of type ListableBeanFactoryModifier and TypeMethodDescriptionBeanFactoryAnnotationUtils.qualifiedBeansOfType(ListableBeanFactory beanFactory, Class<T> beanType, String qualifier) Retrieve all beans of typeTfrom the givenBeanFactorydeclaring a qualifier (for example, via<qualifier>or@Qualifier) matching the given qualifier, or having a bean name matching the given qualifier. -
Uses of ListableBeanFactory in org.springframework.beans.factory.aot
Methods in org.springframework.beans.factory.aot with parameters of type ListableBeanFactoryModifier and TypeMethodDescriptionstatic AotServices.LoaderAotServices.factoriesAndBeans(ListableBeanFactory beanFactory) Create a newAotServices.Loaderthat will obtain AOT services from "META-INF/spring/aot.factories" as well as the givenListableBeanFactory.static AotServices.LoaderAotServices.factoriesAndBeans(org.springframework.core.io.support.SpringFactoriesLoader springFactoriesLoader, ListableBeanFactory beanFactory) Create a newAotServices.Loaderthat will obtain AOT services from the givenSpringFactoriesLoaderandListableBeanFactory. -
Uses of ListableBeanFactory in org.springframework.beans.factory.config
Subinterfaces of ListableBeanFactory in org.springframework.beans.factory.configModifier and TypeInterfaceDescriptioninterfaceConfiguration interface to be implemented by most listable bean factories. -
Uses of ListableBeanFactory in org.springframework.beans.factory.support
Classes in org.springframework.beans.factory.support that implement ListableBeanFactoryModifier and TypeClassDescriptionclassSpring's default implementation of theConfigurableListableBeanFactoryandBeanDefinitionRegistryinterfaces: a full-fledged bean factory based on bean definition metadata, extensible through post-processors.classStaticBeanFactoryimplementation which allows one to register existing singleton instances programmatically.