Uses of Interface
org.springframework.beans.factory.BeanFactory
Packages that use BeanFactory
Package
Description
AspectJ integration package.
Classes enabling AspectJ 5 @Annotated classes to be used in Spring AOP.
Support package for declarative AOP configuration,
with XML schema being the primary configuration format.
Package containing Spring's basic AOP infrastructure, compliant with the
AOP Alliance interfaces.
Bean post-processors for use in ApplicationContexts to simplify AOP usage
by automatically creating AOP proxies without the need to use a ProxyFactoryBean.
Various 
TargetSourceCreator
implementations for use with Spring's AOP auto-proxying support.Provides miscellaneous interceptor implementations.
Support for AOP-based scoping of target objects, with configurable backend.
Convenience classes for using Spring's AOP API.
Various 
TargetSource implementations for use
with Spring AOP.Support for dynamic, refreshable 
TargetSource
implementations for use with 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.Mechanism to determine bean wiring metadata from a bean instance.
AOP-based solution for declarative caching demarcation.
AOP-based solution for declarative caching demarcation using JSR-107 annotations.
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.
Support classes for application events, like standard context events.
Expression parsing support within a Spring application context.
Classes supporting the org.springframework.context package,
such as abstract base classes for ApplicationContext
implementations and a MessageSource implementation.
Load-time weaving support for a Spring application context, building on Spring's
LoadTimeWeaver abstraction.Annotation support for DAOs.
Support classes for DAO implementations,
providing miscellaneous utility methods.
Provides a strategy for looking up JDBC DataSources by name.
Annotations and support classes for declarative JMS listener endpoints.
Support package for declarative messaging configuration,
with Java configuration and XML schema support.
Support classes for Spring's JMS framework.
This package provides declarative creation and registration of
Spring-managed beans as JMX MBeans.
Annotations for MBean exposure.
The classes in this package make JNDI easier to use,
facilitating the accessing of configuration stored in JNDI,
and provide useful superclasses for JNDI access classes.
Support classes for JNDI usage,
including a JNDI-based BeanFactory implementation.
Defines interfaces and implementation classes for messaging templates.
Basic abstractions for working with message handler methods.
Support classes for working with annotated message-handling methods.
Package providing integration of JPA (Java Persistence API) with Spring concepts.
Hibernate-specific support classes, integrated with JPA.
Classes supporting the 
org.springframework.orm.jpa package.Provides a strategy for looking up R2DBC ConnectionFactories by name.
Annotation support for asynchronous method execution.
Support package for declarative scheduling configuration,
with XML schema being the primary configuration format.
Support classes for the open source scheduler
Quartz,
allowing to set up Quartz Schedulers, JobDetails and
Triggers as beans in a Spring context.
Package providing integration of
Groovy
into Spring's scripting infrastructure.
Support classes for Spring's scripting package.
AOP-based solution for declarative transaction demarcation.
Contains a variant of the application context interface for web applications,
and the ContextLoaderListener that bootstraps a root web application context.
Support for asynchronous request processing.
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.
Common infrastructure for handler method processing, as used by
Spring MVC's 
org.springframework.web.servlet.mvc.method package.Support for creating a registry of HTTP Service client proxies, and declaring
the proxies as beans.
MVC infrastructure for annotation-based handler method processing, building on the
org.springframework.web.method.annotation package.Client-side classes for use with standard Jakarta WebSocket endpoints.
Convenient 
WebSocketHandler
implementations and decorators.Server-side classes for use with standard JSR-356 WebSocket endpoints.
- 
Uses of BeanFactory in org.springframework.aop.aspectjMethods in org.springframework.aop.aspectj with parameters of type BeanFactoryModifier and TypeMethodDescriptionvoidAspectJExpressionPointcut.setBeanFactory(BeanFactory beanFactory) voidAspectJExpressionPointcutAdvisor.setBeanFactory(BeanFactory beanFactory) 
- 
Uses of BeanFactory in org.springframework.aop.aspectj.annotationConstructors in org.springframework.aop.aspectj.annotation with parameters of type BeanFactoryModifierConstructorDescriptionBeanFactoryAspectInstanceFactory(BeanFactory beanFactory, String name) Create a BeanFactoryAspectInstanceFactory.BeanFactoryAspectInstanceFactory(BeanFactory beanFactory, String name, @Nullable Class<?> type) Create a BeanFactoryAspectInstanceFactory, providing a type that AspectJ should introspect to create AJType metadata.PrototypeAspectInstanceFactory(BeanFactory beanFactory, String name) Create a PrototypeAspectInstanceFactory.ReflectiveAspectJAdvisorFactory(@Nullable BeanFactory beanFactory) Create a newReflectiveAspectJAdvisorFactory, propagating the givenBeanFactoryto the createdAspectJExpressionPointcutinstances, for bean pointcut handling as well as consistentClassLoaderresolution.
- 
Uses of BeanFactory in org.springframework.aop.configMethods in org.springframework.aop.config with parameters of type BeanFactoryModifier and TypeMethodDescriptionvoidMethodLocatingFactoryBean.setBeanFactory(BeanFactory beanFactory) voidSimpleBeanFactoryAwareAspectInstanceFactory.setBeanFactory(BeanFactory beanFactory) 
- 
Uses of BeanFactory in org.springframework.aop.frameworkMethods in org.springframework.aop.framework with parameters of type BeanFactory
- 
Uses of BeanFactory in org.springframework.aop.framework.autoproxyMethods in org.springframework.aop.framework.autoproxy that return BeanFactoryModifier and TypeMethodDescriptionprotected @Nullable BeanFactoryAbstractAutoProxyCreator.getBeanFactory()Return the owningBeanFactory.Methods in org.springframework.aop.framework.autoproxy with parameters of type BeanFactoryModifier and TypeMethodDescriptionvoidAbstractAdvisorAutoProxyCreator.setBeanFactory(BeanFactory beanFactory) voidAbstractAutoProxyCreator.setBeanFactory(BeanFactory beanFactory) voidAbstractBeanFactoryAwareAdvisingPostProcessor.setBeanFactory(BeanFactory beanFactory) 
- 
Uses of BeanFactory in org.springframework.aop.framework.autoproxy.targetMethods in org.springframework.aop.framework.autoproxy.target that return BeanFactoryModifier and TypeMethodDescriptionprotected final @Nullable BeanFactoryAbstractBeanFactoryBasedTargetSourceCreator.getBeanFactory()Return the BeanFactory that this TargetSourceCreators runs in.Methods in org.springframework.aop.framework.autoproxy.target with parameters of type BeanFactoryModifier and TypeMethodDescriptionfinal voidAbstractBeanFactoryBasedTargetSourceCreator.setBeanFactory(BeanFactory beanFactory) 
- 
Uses of BeanFactory in org.springframework.aop.interceptorMethods in org.springframework.aop.interceptor with parameters of type BeanFactoryModifier and TypeMethodDescriptionAsyncExecutionAspectSupport.findQualifiedExecutor(@Nullable BeanFactory beanFactory, String qualifier) Retrieve a target executor for the given qualifier.AsyncExecutionAspectSupport.getDefaultExecutor(@Nullable BeanFactory beanFactory) Retrieve or build a default executor for this advice instance.AsyncExecutionInterceptor.getDefaultExecutor(@Nullable BeanFactory beanFactory) This implementation searches for a uniqueTaskExecutorbean in the context, or for anExecutorbean named "taskExecutor" otherwise.voidAsyncExecutionAspectSupport.setBeanFactory(BeanFactory beanFactory) Set theBeanFactoryto be used when looking up executors by qualifier or when relying on the default executor lookup algorithm.
- 
Uses of BeanFactory in org.springframework.aop.scopeMethods in org.springframework.aop.scope with parameters of type BeanFactoryModifier and TypeMethodDescriptionvoidScopedProxyFactoryBean.setBeanFactory(BeanFactory beanFactory) 
- 
Uses of BeanFactory in org.springframework.aop.supportMethods in org.springframework.aop.support with parameters of type BeanFactoryModifier and TypeMethodDescriptionvoidAbstractBeanFactoryPointcutAdvisor.setBeanFactory(BeanFactory beanFactory) 
- 
Uses of BeanFactory in org.springframework.aop.targetMethods in org.springframework.aop.target that return BeanFactoryModifier and TypeMethodDescriptionAbstractBeanFactoryBasedTargetSource.getBeanFactory()Return the owning BeanFactory.Methods in org.springframework.aop.target with parameters of type BeanFactoryModifier and TypeMethodDescriptionvoidAbstractBeanFactoryBasedTargetSource.setBeanFactory(BeanFactory beanFactory) Set the owning BeanFactory.final voidAbstractPoolingTargetSource.setBeanFactory(BeanFactory beanFactory) voidAbstractPrototypeBasedTargetSource.setBeanFactory(BeanFactory beanFactory) 
- 
Uses of BeanFactory in org.springframework.aop.target.dynamicMethods in org.springframework.aop.target.dynamic with parameters of type BeanFactoryModifier and TypeMethodDescriptionprotected ObjectBeanFactoryRefreshableTargetSource.obtainFreshBean(BeanFactory beanFactory, String beanName) A template method that subclasses may override to provide a fresh target object for the given bean factory and bean name.Constructors in org.springframework.aop.target.dynamic with parameters of type BeanFactoryModifierConstructorDescriptionBeanFactoryRefreshableTargetSource(BeanFactory beanFactory, String beanName) Create a new BeanFactoryRefreshableTargetSource for the given bean factory and bean name.
- 
Uses of BeanFactory in org.springframework.beans.factorySubinterfaces of BeanFactory in org.springframework.beans.factoryModifier and TypeInterfaceDescriptioninterfaceSub-interface implemented by bean factories that can be part of a hierarchy.interfaceExtension of theBeanFactoryinterface 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.Methods in org.springframework.beans.factory that return BeanFactoryModifier and TypeMethodDescriptionHierarchicalBeanFactory.getParentBeanFactory()Return the parent bean factory, ornullif there is none.Methods in org.springframework.beans.factory with parameters of type BeanFactoryModifier and TypeMethodDescriptionvoidBeanFactoryAware.setBeanFactory(BeanFactory beanFactory) Callback that supplies the owning factory to a bean instance.
- 
Uses of BeanFactory in org.springframework.beans.factory.annotationMethods in org.springframework.beans.factory.annotation with parameters of type BeanFactoryModifier and TypeMethodDescriptionstatic booleanBeanFactoryAnnotationUtils.isQualifierMatch(Predicate<String> qualifier, String beanName, @Nullable BeanFactory beanFactory) Check whether the named bean declares a qualifier of the given name.static <T> TBeanFactoryAnnotationUtils.qualifiedBeanOfType(BeanFactory beanFactory, Class<T> beanType, String qualifier) Obtain a bean 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.voidAutowiredAnnotationBeanPostProcessor.setBeanFactory(BeanFactory beanFactory) 
- 
Uses of BeanFactory in org.springframework.beans.factory.configSubinterfaces of BeanFactory in org.springframework.beans.factory.configModifier and TypeInterfaceDescriptioninterfaceExtension of theBeanFactoryinterface to be implemented by bean factories that are capable of autowiring, provided that they want to expose this functionality for existing bean instances.interfaceConfiguration interface to be implemented by most bean factories.interfaceConfiguration interface to be implemented by most listable bean factories.Methods in org.springframework.beans.factory.config that return BeanFactoryModifier and TypeMethodDescriptionprotected @Nullable BeanFactoryAbstractFactoryBean.getBeanFactory()Return the BeanFactory that this bean runs in.Methods in org.springframework.beans.factory.config with parameters of type BeanFactoryModifier and TypeMethodDescriptionDependencyDescriptor.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.DependencyDescriptor.resolveShortcut(BeanFactory beanFactory) Resolve a shortcut for this dependency against the given factory, for example taking some pre-resolved information into account.voidAbstractFactoryBean.setBeanFactory(@Nullable BeanFactory beanFactory) voidMethodInvokingBean.setBeanFactory(BeanFactory beanFactory) voidPlaceholderConfigurerSupport.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.voidPropertyPathFactoryBean.setBeanFactory(BeanFactory beanFactory) voidServiceLocatorFactoryBean.setBeanFactory(BeanFactory beanFactory) voidConfigurableBeanFactory.setParentBeanFactory(BeanFactory parentBeanFactory) Set the parent of this bean factory.
- 
Uses of BeanFactory in org.springframework.beans.factory.supportClasses in org.springframework.beans.factory.support that implement BeanFactoryModifier and TypeClassDescriptionclassAbstract bean factory superclass that implements default bean creation, with the full capabilities specified by theRootBeanDefinitionclass.classAbstract base class forBeanFactoryimplementations, providing the full capabilities of theConfigurableBeanFactorySPI.classSpring'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.Methods in org.springframework.beans.factory.support that return BeanFactoryModifier and TypeMethodDescriptionprotected final @Nullable BeanFactoryGenericTypeAwareAutowireCandidateResolver.getBeanFactory()AbstractBeanFactory.getParentBeanFactory()Methods in org.springframework.beans.factory.support with parameters of type BeanFactoryModifier and TypeMethodDescriptionClass<?> CglibSubclassingInstantiationStrategy.getActualBeanClass(RootBeanDefinition bd, @Nullable String beanName, BeanFactory owner) default Class<?> InstantiationStrategy.getActualBeanClass(RootBeanDefinition bd, @Nullable String beanName, BeanFactory owner) Determine the actual class for the given bean definition, as instantiated at runtime.InstantiationStrategy.instantiate(RootBeanDefinition bd, @Nullable String beanName, BeanFactory owner) Return an instance of the bean with the given name in this factory.InstantiationStrategy.instantiate(RootBeanDefinition bd, @Nullable String beanName, BeanFactory owner, @Nullable Object factoryBean, Method factoryMethod, @Nullable Object... args) Return an instance of the bean with the given name in this factory, creating it via the given factory method.InstantiationStrategy.instantiate(RootBeanDefinition bd, @Nullable 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.SimpleInstantiationStrategy.instantiate(RootBeanDefinition bd, @Nullable String beanName, BeanFactory owner) SimpleInstantiationStrategy.instantiate(RootBeanDefinition bd, @Nullable String beanName, BeanFactory owner, @Nullable Object factoryBean, Method factoryMethod, @Nullable Object... args) SimpleInstantiationStrategy.instantiate(RootBeanDefinition bd, @Nullable String beanName, BeanFactory owner, Constructor<?> ctor, Object... args) protected ObjectCglibSubclassingInstantiationStrategy.instantiateWithMethodInjection(RootBeanDefinition bd, @Nullable String beanName, BeanFactory owner) protected ObjectCglibSubclassingInstantiationStrategy.instantiateWithMethodInjection(RootBeanDefinition bd, @Nullable String beanName, BeanFactory owner, @Nullable Constructor<?> ctor, Object... args) protected ObjectSimpleInstantiationStrategy.instantiateWithMethodInjection(RootBeanDefinition bd, @Nullable 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 ObjectSimpleInstantiationStrategy.instantiateWithMethodInjection(RootBeanDefinition bd, @Nullable String beanName, BeanFactory owner, @Nullable 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.voidGenericTypeAwareAutowireCandidateResolver.setBeanFactory(BeanFactory beanFactory) voidAbstractBeanFactory.setParentBeanFactory(@Nullable BeanFactory parentBeanFactory) Constructors in org.springframework.beans.factory.support with parameters of type BeanFactoryModifierConstructorDescriptionAbstractAutowireCapableBeanFactory(@Nullable BeanFactory parentBeanFactory) Create a new AbstractAutowireCapableBeanFactory with the given parent.AbstractBeanFactory(@Nullable BeanFactory parentBeanFactory) Create a new AbstractBeanFactory with the given parent.DefaultListableBeanFactory(@Nullable BeanFactory parentBeanFactory) Create a new DefaultListableBeanFactory with the given parent.
- 
Uses of BeanFactory in org.springframework.beans.factory.wiringMethods in org.springframework.beans.factory.wiring with parameters of type BeanFactoryModifier and TypeMethodDescriptionvoidBeanConfigurerSupport.setBeanFactory(BeanFactory beanFactory) Set theBeanFactoryin which this aspect must configure beans.
- 
Uses of BeanFactory in org.springframework.cache.interceptorMethods in org.springframework.cache.interceptor with parameters of type BeanFactoryModifier and TypeMethodDescriptionvoidCacheAspectSupport.setBeanFactory(BeanFactory beanFactory) Set the containingBeanFactoryforCacheManagerand other service lookups.voidCacheProxyFactoryBean.setBeanFactory(BeanFactory beanFactory) 
- 
Uses of BeanFactory in org.springframework.cache.jcache.interceptorMethods in org.springframework.cache.jcache.interceptor with parameters of type BeanFactoryModifier and TypeMethodDescriptionvoidDefaultJCacheOperationSource.setBeanFactory(BeanFactory beanFactory) 
- 
Uses of BeanFactory in org.springframework.contextSubinterfaces of BeanFactory 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 BeanFactory in org.springframework.context.annotationClasses in org.springframework.context.annotation that implement BeanFactoryModifier 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.Methods in org.springframework.context.annotation with parameters of type BeanFactoryModifier and TypeMethodDescriptionprotected ObjectCommonAnnotationBeanPostProcessor.autowireResource(BeanFactory factory, CommonAnnotationBeanPostProcessor.LookupElement element, @Nullable String requestingBeanName) Obtain a resource object for the given name and type through autowiring based on the given factory.voidCommonAnnotationBeanPostProcessor.setBeanFactory(BeanFactory beanFactory) voidMBeanExportConfiguration.setBeanFactory(BeanFactory beanFactory) voidCommonAnnotationBeanPostProcessor.setJndiFactory(BeanFactory jndiFactory) Specify the factory for objects to be injected into@Resource/@EJBannotated fields and setter methods, formappedNameattributes that point directly into JNDI.voidCommonAnnotationBeanPostProcessor.setResourceFactory(BeanFactory resourceFactory) Specify the factory for objects to be injected into@Resource/@EJBannotated fields and setter methods, fornameattributes and default names.
- 
Uses of BeanFactory in org.springframework.context.eventMethods in org.springframework.context.event with parameters of type BeanFactoryModifier and TypeMethodDescriptionvoidAbstractApplicationEventMulticaster.setBeanFactory(BeanFactory beanFactory) Constructors in org.springframework.context.event with parameters of type BeanFactoryModifierConstructorDescriptionSimpleApplicationEventMulticaster(BeanFactory beanFactory) Create a new SimpleApplicationEventMulticaster for the given BeanFactory.
- 
Uses of BeanFactory in org.springframework.context.expressionConstructors in org.springframework.context.expression with parameters of type BeanFactoryModifierConstructorDescriptionBeanFactoryResolver(BeanFactory beanFactory) Create a newBeanFactoryResolverfor the given factory.
- 
Uses of BeanFactory in org.springframework.context.supportClasses in org.springframework.context.support that implement BeanFactoryModifier 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 (for example, "mypackage/myresource.txt").classStandalone XML application context, taking the context definition files from the file system or from URLs, interpreting plain paths as relative file system locations (for example, "mydir/myfile.txt").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(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.Methods in org.springframework.context.support that return BeanFactoryModifier and TypeMethodDescriptionprotected @Nullable BeanFactoryAbstractApplicationContext.getInternalParentBeanFactory()Return the internal bean factory of the parent context if it implements ConfigurableApplicationContext; else, return the parent context itself.AbstractApplicationContext.getParentBeanFactory()Methods in org.springframework.context.support with parameters of type BeanFactoryModifier and TypeMethodDescriptionvoidDefaultLifecycleProcessor.setBeanFactory(BeanFactory beanFactory) 
- 
Uses of BeanFactory in org.springframework.context.weavingMethods in org.springframework.context.weaving with parameters of type BeanFactoryModifier and TypeMethodDescriptionvoidLoadTimeWeaverAwareProcessor.setBeanFactory(BeanFactory beanFactory) Constructors in org.springframework.context.weaving with parameters of type BeanFactoryModifierConstructorDescriptionLoadTimeWeaverAwareProcessor(BeanFactory beanFactory) Create a newLoadTimeWeaverAwareProcessor.
- 
Uses of BeanFactory in org.springframework.dao.annotationMethods in org.springframework.dao.annotation with parameters of type BeanFactoryModifier and TypeMethodDescriptionvoidPersistenceExceptionTranslationPostProcessor.setBeanFactory(BeanFactory beanFactory) 
- 
Uses of BeanFactory in org.springframework.dao.supportMethods in org.springframework.dao.support with parameters of type BeanFactoryModifier and TypeMethodDescriptionvoidPersistenceExceptionTranslationInterceptor.setBeanFactory(BeanFactory beanFactory) 
- 
Uses of BeanFactory in org.springframework.jdbc.datasource.lookupMethods in org.springframework.jdbc.datasource.lookup with parameters of type BeanFactoryModifier and TypeMethodDescriptionvoidBeanFactoryDataSourceLookup.setBeanFactory(BeanFactory beanFactory) Constructors in org.springframework.jdbc.datasource.lookup with parameters of type BeanFactoryModifierConstructorDescriptionBeanFactoryDataSourceLookup(BeanFactory beanFactory) Create a new instance of theBeanFactoryDataSourceLookupclass.
- 
Uses of BeanFactory in org.springframework.jms.annotationMethods in org.springframework.jms.annotation with parameters of type BeanFactoryModifier and TypeMethodDescriptionvoidJmsListenerAnnotationBeanPostProcessor.setBeanFactory(BeanFactory beanFactory) Making aBeanFactoryavailable is optional; if not set,JmsListenerConfigurerbeans won't get autodetected and anendpoint registryhas to be explicitly configured.
- 
Uses of BeanFactory in org.springframework.jms.configMethods in org.springframework.jms.config with parameters of type BeanFactoryModifier and TypeMethodDescriptionvoidJmsListenerEndpointRegistrar.setBeanFactory(BeanFactory beanFactory) ABeanFactoryonly needs to be available in conjunction withJmsListenerEndpointRegistrar.setContainerFactoryBeanName(String).voidMethodJmsListenerEndpoint.setBeanFactory(@Nullable BeanFactory beanFactory) Set theBeanFactoryto use to resolve expressions (may benull).
- 
Uses of BeanFactory in org.springframework.jms.support.destinationMethods in org.springframework.jms.support.destination with parameters of type BeanFactoryModifier and TypeMethodDescriptionvoidBeanFactoryDestinationResolver.setBeanFactory(BeanFactory beanFactory) Constructors in org.springframework.jms.support.destination with parameters of type BeanFactoryModifierConstructorDescriptionBeanFactoryDestinationResolver(BeanFactory beanFactory) Create a new instance of theBeanFactoryDestinationResolverclass.
- 
Uses of BeanFactory in org.springframework.jmx.exportMethods in org.springframework.jmx.export with parameters of type BeanFactory
- 
Uses of BeanFactory in org.springframework.jmx.export.annotationMethods in org.springframework.jmx.export.annotation with parameters of type BeanFactoryModifier and TypeMethodDescriptionvoidAnnotationJmxAttributeSource.setBeanFactory(BeanFactory beanFactory) voidAnnotationMBeanExporter.setBeanFactory(BeanFactory beanFactory) 
- 
Uses of BeanFactory in org.springframework.jndiMethods in org.springframework.jndi with parameters of type BeanFactoryModifier and TypeMethodDescriptionvoidJndiObjectFactoryBean.setBeanFactory(BeanFactory beanFactory) 
- 
Uses of BeanFactory in org.springframework.jndi.supportClasses in org.springframework.jndi.support that implement BeanFactoryModifier and TypeClassDescriptionclassSimple JNDI-based implementation of Spring'sBeanFactoryinterface.
- 
Uses of BeanFactory in org.springframework.messaging.coreMethods in org.springframework.messaging.core with parameters of type BeanFactoryModifier and TypeMethodDescriptionvoidBeanFactoryMessageChannelDestinationResolver.setBeanFactory(BeanFactory beanFactory) voidGenericMessagingTemplate.setBeanFactory(BeanFactory beanFactory) Constructors in org.springframework.messaging.core with parameters of type BeanFactoryModifierConstructorDescriptionBeanFactoryMessageChannelDestinationResolver(BeanFactory beanFactory) A constructor that accepts aBeanFactoryuseful if instantiating this resolver manually rather than having it defined as a Spring-managed bean.
- 
Uses of BeanFactory in org.springframework.messaging.handlerConstructors in org.springframework.messaging.handler with parameters of type BeanFactoryModifierConstructorDescriptionHandlerMethod(String beanName, BeanFactory beanFactory, Method method) Create an instance from a bean name, a method, and aBeanFactory.
- 
Uses of BeanFactory in org.springframework.messaging.handler.annotation.supportMethods in org.springframework.messaging.handler.annotation.support with parameters of type BeanFactoryModifier and TypeMethodDescriptionvoidDefaultMessageHandlerMethodFactory.setBeanFactory(BeanFactory beanFactory) ABeanFactoryonly needs to be available for placeholder resolution in handler method arguments; it's optional otherwise.
- 
Uses of BeanFactory in org.springframework.orm.jpaMethods in org.springframework.orm.jpa that return BeanFactoryModifier and TypeMethodDescriptionprotected @Nullable BeanFactoryAbstractEntityManagerFactoryBean.getBeanFactory()Methods in org.springframework.orm.jpa with parameters of type BeanFactoryModifier and TypeMethodDescriptionvoidAbstractEntityManagerFactoryBean.setBeanFactory(BeanFactory beanFactory) voidEntityManagerFactoryAccessor.setBeanFactory(BeanFactory beanFactory) Retrieves an EntityManagerFactory by persistence unit name, if none set explicitly.voidJpaTransactionManager.setBeanFactory(BeanFactory beanFactory) Retrieves an EntityManagerFactory by persistence unit name, if none set explicitly.
- 
Uses of BeanFactory in org.springframework.orm.jpa.hibernateMethods in org.springframework.orm.jpa.hibernate with parameters of type BeanFactoryModifier and TypeMethodDescriptionvoidHibernateTransactionManager.setBeanFactory(BeanFactory beanFactory) The bean factory just needs to be known for resolving entity interceptor bean names.voidLocalSessionFactoryBean.setBeanFactory(BeanFactory beanFactory) Accept the containingBeanFactory, registering corresponding HibernateBeanContainerintegration for it if possible.
- 
Uses of BeanFactory in org.springframework.orm.jpa.supportMethods in org.springframework.orm.jpa.support with parameters of type BeanFactoryModifier and TypeMethodDescriptionvoidPersistenceAnnotationBeanPostProcessor.setBeanFactory(BeanFactory beanFactory) 
- 
Uses of BeanFactory in org.springframework.r2dbc.connection.lookupMethods in org.springframework.r2dbc.connection.lookup with parameters of type BeanFactoryModifier and TypeMethodDescriptionvoidBeanFactoryConnectionFactoryLookup.setBeanFactory(BeanFactory beanFactory) Constructors in org.springframework.r2dbc.connection.lookup with parameters of type BeanFactoryModifierConstructorDescriptionBeanFactoryConnectionFactoryLookup(BeanFactory beanFactory) Create a new instance of theBeanFactoryConnectionFactoryLookupclass.
- 
Uses of BeanFactory in org.springframework.scheduling.annotationMethods in org.springframework.scheduling.annotation with parameters of type BeanFactoryModifier and TypeMethodDescriptionvoidAsyncAnnotationAdvisor.setBeanFactory(BeanFactory beanFactory) Set theBeanFactoryto be used when looking up executors by qualifier.voidAsyncAnnotationBeanPostProcessor.setBeanFactory(BeanFactory beanFactory) voidScheduledAnnotationBeanPostProcessor.setBeanFactory(BeanFactory beanFactory) Making aBeanFactoryavailable is optional; if not set,SchedulingConfigurerbeans won't get autodetected and aschedulerhas to be explicitly configured.
- 
Uses of BeanFactory in org.springframework.scheduling.configMethods in org.springframework.scheduling.config with parameters of type BeanFactoryModifier and TypeMethodDescriptionvoidTaskSchedulerRouter.setBeanFactory(@Nullable BeanFactory beanFactory) The bean factory for scheduler lookups.
- 
Uses of BeanFactory in org.springframework.scheduling.quartzMethods in org.springframework.scheduling.quartz with parameters of type BeanFactoryModifier and TypeMethodDescriptionvoidMethodInvokingJobDetailFactoryBean.setBeanFactory(BeanFactory beanFactory) voidSchedulerAccessorBean.setBeanFactory(BeanFactory beanFactory) 
- 
Uses of BeanFactory in org.springframework.scripting.groovyMethods in org.springframework.scripting.groovy with parameters of type BeanFactoryModifier and TypeMethodDescriptionvoidGroovyScriptFactory.setBeanFactory(BeanFactory beanFactory) 
- 
Uses of BeanFactory in org.springframework.scripting.supportMethods in org.springframework.scripting.support with parameters of type BeanFactoryModifier and TypeMethodDescriptionprotected ObjectRefreshableScriptTargetSource.obtainFreshBean(BeanFactory beanFactory, String beanName) Obtain a fresh target object, retrieving a FactoryBean if necessary.voidScriptFactoryPostProcessor.setBeanFactory(BeanFactory beanFactory) Constructors in org.springframework.scripting.support with parameters of type BeanFactoryModifierConstructorDescriptionRefreshableScriptTargetSource(BeanFactory beanFactory, String beanName, ScriptFactory scriptFactory, ScriptSource scriptSource, boolean isFactoryBean) Create a new RefreshableScriptTargetSource.
- 
Uses of BeanFactory in org.springframework.transaction.interceptorMethods in org.springframework.transaction.interceptor that return BeanFactoryModifier and TypeMethodDescriptionprotected final @Nullable BeanFactoryTransactionAspectSupport.getBeanFactory()Return the BeanFactory to use for retrievingTransactionManagerbeans.Methods in org.springframework.transaction.interceptor with parameters of type BeanFactoryModifier and TypeMethodDescriptionvoidTransactionAspectSupport.setBeanFactory(@Nullable BeanFactory beanFactory) Set the BeanFactory to use for retrievingTransactionManagerbeans.voidTransactionProxyFactoryBean.setBeanFactory(BeanFactory beanFactory) This callback is optional: If running in a BeanFactory and no transaction manager has been set explicitly, a single matching bean of typePlatformTransactionManagerwill be fetched from the BeanFactory.
- 
Uses of BeanFactory in org.springframework.web.contextSubinterfaces of BeanFactory 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 BeanFactory in org.springframework.web.context.request.asyncMethods in org.springframework.web.context.request.async with parameters of type BeanFactoryModifier and TypeMethodDescriptionvoidWebAsyncTask.setBeanFactory(BeanFactory beanFactory) ABeanFactoryto use for resolving an executor name.
- 
Uses of BeanFactory in org.springframework.web.context.supportClasses in org.springframework.web.context.support that implement BeanFactoryModifier 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 BeanFactory in org.springframework.web.jsfMethods in org.springframework.web.jsf that return BeanFactoryModifier and TypeMethodDescriptionprotected BeanFactoryDelegatingNavigationHandlerProxy.getBeanFactory(jakarta.faces.context.FacesContext facesContext) Retrieve the Spring BeanFactory to delegate bean name resolution to.
- 
Uses of BeanFactory in org.springframework.web.methodConstructors in org.springframework.web.method with parameters of type BeanFactoryModifierConstructorDescriptionControllerAdviceBean(String beanName, BeanFactory beanFactory, ControllerAdvice controllerAdvice) Create aControllerAdviceBeanusing the given bean name,BeanFactory, and@ControllerAdviceannotation.HandlerMethod(String beanName, BeanFactory beanFactory, Method method) Create an instance from a bean name, a method, and aBeanFactory.HandlerMethod(String beanName, BeanFactory beanFactory, @Nullable MessageSource messageSource, Method method) Variant ofHandlerMethod(String, BeanFactory, Method)that also accepts aMessageSource.
- 
Uses of BeanFactory in org.springframework.web.service.registryMethods in org.springframework.web.service.registry with parameters of type BeanFactoryModifier and TypeMethodDescriptionvoidAbstractHttpServiceRegistrar.setBeanFactory(BeanFactory beanFactory) 
- 
Uses of BeanFactory in org.springframework.web.servlet.mvc.method.annotationMethods in org.springframework.web.servlet.mvc.method.annotation with parameters of type BeanFactoryModifier and TypeMethodDescriptionvoidRequestMappingHandlerAdapter.setBeanFactory(BeanFactory beanFactory) AConfigurableBeanFactoryis expected for resolving expressions in method argument default values.Constructors in org.springframework.web.servlet.mvc.method.annotation with parameters of type BeanFactoryModifierConstructorDescriptionAsyncTaskMethodReturnValueHandler(@Nullable BeanFactory beanFactory) 
- 
Uses of BeanFactory in org.springframework.web.socket.client.standardMethods in org.springframework.web.socket.client.standard with parameters of type BeanFactoryModifier and TypeMethodDescriptionvoidAnnotatedEndpointConnectionManager.setBeanFactory(BeanFactory beanFactory) voidEndpointConnectionManager.setBeanFactory(BeanFactory beanFactory) 
- 
Uses of BeanFactory in org.springframework.web.socket.handlerMethods in org.springframework.web.socket.handler with parameters of type BeanFactoryModifier and TypeMethodDescriptionvoidBeanCreatingHandlerProvider.setBeanFactory(BeanFactory beanFactory) voidPerConnectionWebSocketHandler.setBeanFactory(BeanFactory beanFactory) 
- 
Uses of BeanFactory in org.springframework.web.socket.server.standardMethods in org.springframework.web.socket.server.standard with parameters of type BeanFactoryModifier and TypeMethodDescriptionvoidServerEndpointRegistration.setBeanFactory(BeanFactory beanFactory)