Uses of Interface
org.springframework.beans.factory.ListableBeanFactory
Packages that use ListableBeanFactory
Package
Description
Classes enabling AspectJ 5 @Annotated classes to be used in Spring AOP.
The core package implementing Spring's lightweight Inversion of Control (IoC) container.
Support package for annotation-driven bean configuration.
SPI interfaces and configuration-related convenience classes for bean factories.
Classes supporting the
org.springframework.beans.factory package.This package builds on the beans package to add support for
message sources and for the Observer design pattern, and the
ability for application objects to obtain resources using a
consistent API.
Annotation support for the Application Context, including JSR-250 "common"
annotations, component-scanning, and Java-based metadata for creating
Spring-managed objects.
Classes supporting the org.springframework.context package,
such as abstract base classes for ApplicationContext
implementations and a MessageSource implementation.
Support classes for DAO implementations,
providing miscellaneous utility methods.
This package provides declarative creation and registration of
Spring-managed beans as JMX MBeans.
Package providing integration of JPA (Java Persistence API) with Spring concepts.
Contains a variant of the application context interface for web applications,
and the ContextLoaderListener that bootstraps a root web application context.
Classes supporting the
org.springframework.web.context package,
such as WebApplicationContext implementations and various utility classes.Support classes for integrating a JSF web layer with a Spring service layer
which is hosted in a Spring root WebApplicationContext.
-
Uses of ListableBeanFactory in org.springframework.aop.aspectj.annotation
Constructors in org.springframework.aop.aspectj.annotation with parameters of type ListableBeanFactoryModifierConstructorDescriptionBeanFactoryAspectJAdvisorsBuilder(ListableBeanFactory beanFactory) Create a new BeanFactoryAspectJAdvisorsBuilder for the given BeanFactory.BeanFactoryAspectJAdvisorsBuilder(ListableBeanFactory beanFactory, AspectJAdvisorFactory advisorFactory) Create a new BeanFactoryAspectJAdvisorsBuilder for the given BeanFactory. -
Uses of ListableBeanFactory in org.springframework.beans.factory
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, ResolvableType type) Get all bean names for the given type, including those defined in ancestor factories.static String[]BeanFactoryUtils.beanNamesForTypeIncludingAncestors(ListableBeanFactory lbf, 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 (e.g. -
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. -
Uses of ListableBeanFactory in org.springframework.context
Subinterfaces of ListableBeanFactory in org.springframework.contextModifier and TypeInterfaceDescriptioninterfaceCentral interface to provide configuration for an application.interfaceSPI interface to be implemented by most if not all application contexts. -
Uses of ListableBeanFactory in org.springframework.context.annotation
Classes in org.springframework.context.annotation that implement ListableBeanFactoryModifier and TypeClassDescriptionclassStandalone application context, accepting component classes as input — in particular@Configuration-annotated classes, but also plain@Componenttypes and JSR-330 compliant classes usingjakarta.injectannotations. -
Uses of ListableBeanFactory in org.springframework.context.support
Classes in org.springframework.context.support that implement ListableBeanFactoryModifier and TypeClassDescriptionclassAbstract implementation of theApplicationContextinterface.classBase class forApplicationContextimplementations which are supposed to support multiple calls toAbstractApplicationContext.refresh(), creating a new internal bean factory instance every time.classAbstractRefreshableApplicationContextsubclass that adds common handling of specified config locations.classConvenient base class forApplicationContextimplementations, drawing configuration from XML documents containing bean definitions understood by anXmlBeanDefinitionReader.classStandalone XML application context, taking the context definition files from the class path, interpreting plain paths as class path resource names that include the package path (e.g.classStandalone XML application context, taking the context definition files from the file system or from URLs, interpreting plain paths as relative file system locations (e.g.classGeneric ApplicationContext implementation that holds a single internalDefaultListableBeanFactoryinstance and does not assume a specific bean definition format.classAnApplicationContextimplementation that extendsGenericApplicationContextand implementsGroovyObjectsuch that beans can be retrieved with the dot de-reference syntax instead of usingAbstractApplicationContext.getBean(java.lang.String).classConvenient application context with built-in XML support.classApplicationContextimplementation which supports programmatic registration of beans and messages, rather than reading bean definitions from external configuration sources. -
Uses of ListableBeanFactory in org.springframework.dao.support
Methods in org.springframework.dao.support with parameters of type ListableBeanFactoryModifier and TypeMethodDescriptionprotected PersistenceExceptionTranslatorPersistenceExceptionTranslationInterceptor.detectPersistenceExceptionTranslators(ListableBeanFactory bf) Detect all PersistenceExceptionTranslators in the given BeanFactory.Constructors in org.springframework.dao.support with parameters of type ListableBeanFactoryModifierConstructorDescriptionCreate a new PersistenceExceptionTranslationInterceptor, autodetecting PersistenceExceptionTranslators in the given BeanFactory. -
Uses of ListableBeanFactory in org.springframework.jmx.export
Methods in org.springframework.jmx.export with parameters of type ListableBeanFactoryModifier and TypeMethodDescriptionprotected booleanMBeanExporter.isBeanDefinitionLazyInit(ListableBeanFactory beanFactory, String beanName) Return whether the specified bean definition should be considered as lazy-init. -
Uses of ListableBeanFactory in org.springframework.orm.jpa
Methods in org.springframework.orm.jpa with parameters of type ListableBeanFactoryModifier and TypeMethodDescriptionstatic EntityManagerFactoryEntityManagerFactoryUtils.findEntityManagerFactory(ListableBeanFactory beanFactory, String unitName) Find an EntityManagerFactory with the given name in the given Spring application context (represented as ListableBeanFactory). -
Uses of ListableBeanFactory in org.springframework.web.context
Subinterfaces of ListableBeanFactory in org.springframework.web.contextModifier and TypeInterfaceDescriptioninterfaceInterface to be implemented by configurable web application contexts.interfaceInterface to provide configuration for a web application. -
Uses of ListableBeanFactory in org.springframework.web.context.support
Classes in org.springframework.web.context.support that implement ListableBeanFactoryModifier and TypeClassDescriptionclassAbstractRefreshableApplicationContextsubclass which implements theConfigurableWebApplicationContextinterface for web environments.classWebApplicationContextimplementation which accepts component classes as input — in particular@Configurationclasses, but also plain@Componentclasses as well as JSR-330 compliant classes usingjakarta.injectannotations.classSubclass ofGenericApplicationContext, suitable for web environments.classWebApplicationContextimplementation which takes its configuration from Groovy bean definition scripts and/or XML files, as understood by aGroovyBeanDefinitionReader.classStaticWebApplicationContextimplementation for testing.classWebApplicationContextimplementation which takes its configuration from XML documents, understood by anXmlBeanDefinitionReader. -
Uses of ListableBeanFactory in org.springframework.web.jsf
Methods in org.springframework.web.jsf that return ListableBeanFactoryModifier and TypeMethodDescriptionprotected ListableBeanFactoryDelegatingPhaseListenerMulticaster.getBeanFactory(FacesContext facesContext) Retrieve the Spring BeanFactory to delegate bean name resolution to.