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
Hibernate 5.x
with Spring concepts.
Package providing integration of JPA (Java Persistence API) with Spring concepts.
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 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.MVC infrastructure for annotation-based handler method processing, building on the
org.springframework.web.method.annotation package.Provides standard View and ViewResolver implementations,
including abstract base classes for custom implementations.
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.aspectj
Methods 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.annotation
Constructors in org.springframework.aop.aspectj.annotation with parameters of type BeanFactoryModifierConstructorDescriptionBeanFactoryAspectInstanceFactory(BeanFactory beanFactory, String name) Create a BeanFactoryAspectInstanceFactory.BeanFactoryAspectInstanceFactory(BeanFactory beanFactory, String name, 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(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.config
Methods 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.framework
Methods in org.springframework.aop.framework with parameters of type BeanFactory -
Uses of BeanFactory in org.springframework.aop.framework.autoproxy
Methods in org.springframework.aop.framework.autoproxy that return BeanFactoryModifier and TypeMethodDescriptionprotected 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.target
Methods in org.springframework.aop.framework.autoproxy.target that return BeanFactoryModifier and TypeMethodDescriptionprotected final 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.interceptor
Methods in org.springframework.aop.interceptor with parameters of type BeanFactoryModifier and TypeMethodDescriptionprotected ExecutorAsyncExecutionAspectSupport.findQualifiedExecutor(BeanFactory beanFactory, String qualifier) Retrieve a target executor for the given qualifier.protected ExecutorAsyncExecutionAspectSupport.getDefaultExecutor(BeanFactory beanFactory) Retrieve or build a default executor for this advice instance.protected ExecutorAsyncExecutionInterceptor.getDefaultExecutor(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.scope
Methods in org.springframework.aop.scope with parameters of type BeanFactoryModifier and TypeMethodDescriptionvoidScopedProxyFactoryBean.setBeanFactory(BeanFactory beanFactory) -
Uses of BeanFactory in org.springframework.aop.support
Methods in org.springframework.aop.support with parameters of type BeanFactoryModifier and TypeMethodDescriptionvoidAbstractBeanFactoryPointcutAdvisor.setBeanFactory(BeanFactory beanFactory) -
Uses of BeanFactory in org.springframework.aop.target
Methods 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.dynamic
Methods 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.factory
Subinterfaces 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.annotation
Methods in org.springframework.beans.factory.annotation with parameters of type BeanFactoryModifier and TypeMethodDescriptionstatic booleanBeanFactoryAnnotationUtils.isQualifierMatch(Predicate<String> qualifier, String beanName, 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 (e.g.voidAutowiredAnnotationBeanPostProcessor.setBeanFactory(BeanFactory beanFactory) -
Uses of BeanFactory in org.springframework.beans.factory.config
Subinterfaces 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 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(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.support
Classes 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 BeanFactoryGenericTypeAwareAutowireCandidateResolver.getBeanFactory()AbstractBeanFactory.getParentBeanFactory()Methods in org.springframework.beans.factory.support with parameters of type BeanFactoryModifier and TypeMethodDescriptionClass<?>CglibSubclassingInstantiationStrategy.getActualBeanClass(RootBeanDefinition bd, String beanName, BeanFactory owner) default Class<?>InstantiationStrategy.getActualBeanClass(RootBeanDefinition bd, String beanName, BeanFactory owner) Determine the actual class for the given bean definition, as instantiated at runtime.InstantiationStrategy.instantiate(RootBeanDefinition bd, String beanName, BeanFactory owner) Return an instance of the bean with the given name in this factory.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.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.SimpleInstantiationStrategy.instantiate(RootBeanDefinition bd, String beanName, BeanFactory owner) SimpleInstantiationStrategy.instantiate(RootBeanDefinition bd, String beanName, BeanFactory owner, Object factoryBean, Method factoryMethod, Object... args) SimpleInstantiationStrategy.instantiate(RootBeanDefinition bd, String beanName, BeanFactory owner, Constructor<?> ctor, Object... args) protected ObjectCglibSubclassingInstantiationStrategy.instantiateWithMethodInjection(RootBeanDefinition bd, String beanName, BeanFactory owner) protected ObjectCglibSubclassingInstantiationStrategy.instantiateWithMethodInjection(RootBeanDefinition bd, String beanName, BeanFactory owner, Constructor<?> ctor, Object... args) protected ObjectSimpleInstantiationStrategy.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 ObjectSimpleInstantiationStrategy.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.voidGenericTypeAwareAutowireCandidateResolver.setBeanFactory(BeanFactory beanFactory) voidAbstractBeanFactory.setParentBeanFactory(BeanFactory parentBeanFactory) Constructors in org.springframework.beans.factory.support with parameters of type BeanFactoryModifierConstructorDescriptionAbstractAutowireCapableBeanFactory(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. -
Uses of BeanFactory in org.springframework.beans.factory.wiring
Methods 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.interceptor
Methods 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.interceptor
Methods in org.springframework.cache.jcache.interceptor with parameters of type BeanFactoryModifier and TypeMethodDescriptionvoidDefaultJCacheOperationSource.setBeanFactory(BeanFactory beanFactory) -
Uses of BeanFactory in org.springframework.context
Subinterfaces 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.annotation
Classes 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, 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.event
Methods 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.expression
Constructors 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.support
Classes 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 (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.Methods in org.springframework.context.support that return BeanFactoryModifier and TypeMethodDescriptionprotected 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.weaving
Methods 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.annotation
Methods in org.springframework.dao.annotation with parameters of type BeanFactoryModifier and TypeMethodDescriptionvoidPersistenceExceptionTranslationPostProcessor.setBeanFactory(BeanFactory beanFactory) -
Uses of BeanFactory in org.springframework.dao.support
Methods in org.springframework.dao.support with parameters of type BeanFactoryModifier and TypeMethodDescriptionvoidPersistenceExceptionTranslationInterceptor.setBeanFactory(BeanFactory beanFactory) -
Uses of BeanFactory in org.springframework.jdbc.datasource.lookup
Methods 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.annotation
Methods 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.config
Methods in org.springframework.jms.config with parameters of type BeanFactoryModifier and TypeMethodDescriptionvoidJmsListenerEndpointRegistrar.setBeanFactory(BeanFactory beanFactory) ABeanFactoryonly needs to be available in conjunction withJmsListenerEndpointRegistrar.setContainerFactoryBeanName(java.lang.String).voidMethodJmsListenerEndpoint.setBeanFactory(BeanFactory beanFactory) Set theBeanFactoryto use to resolve expressions (may benull). -
Uses of BeanFactory in org.springframework.jms.support.destination
Methods 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.export
Methods in org.springframework.jmx.export with parameters of type BeanFactory -
Uses of BeanFactory in org.springframework.jmx.export.annotation
Methods 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.jndi
Methods in org.springframework.jndi with parameters of type BeanFactoryModifier and TypeMethodDescriptionvoidJndiObjectFactoryBean.setBeanFactory(BeanFactory beanFactory) -
Uses of BeanFactory in org.springframework.jndi.support
Classes in org.springframework.jndi.support that implement BeanFactoryModifier and TypeClassDescriptionclassSimple JNDI-based implementation of Spring'sBeanFactoryinterface. -
Uses of BeanFactory in org.springframework.messaging.core
Methods 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.handler
Constructors 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.support
Methods 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.hibernate5
Methods in org.springframework.orm.hibernate5 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
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.support
Methods in org.springframework.orm.jpa.support with parameters of type BeanFactoryModifier and TypeMethodDescriptionvoidPersistenceAnnotationBeanPostProcessor.setBeanFactory(BeanFactory beanFactory) -
Uses of BeanFactory in org.springframework.r2dbc.connection.lookup
Methods 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.annotation
Methods 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.quartz
Methods 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.groovy
Methods in org.springframework.scripting.groovy with parameters of type BeanFactoryModifier and TypeMethodDescriptionvoidGroovyScriptFactory.setBeanFactory(BeanFactory beanFactory) -
Uses of BeanFactory in org.springframework.scripting.support
Methods 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.interceptor
Methods in org.springframework.transaction.interceptor that return BeanFactoryModifier and TypeMethodDescriptionprotected final BeanFactoryTransactionAspectSupport.getBeanFactory()Return the BeanFactory to use for retrievingTransactionManagerbeans.Methods in org.springframework.transaction.interceptor with parameters of type BeanFactoryModifier and TypeMethodDescriptionvoidTransactionAspectSupport.setBeanFactory(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.context
Subinterfaces 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.async
Methods 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.support
Classes 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.jsf
Methods in org.springframework.web.jsf that return BeanFactoryModifier and TypeMethodDescriptionprotected BeanFactoryDelegatingNavigationHandlerProxy.getBeanFactory(FacesContext facesContext) Retrieve the Spring BeanFactory to delegate bean name resolution to. -
Uses of BeanFactory in org.springframework.web.method
Constructors in org.springframework.web.method with parameters of type BeanFactoryModifierConstructorDescriptionControllerAdviceBean(String beanName, BeanFactory beanFactory) Create aControllerAdviceBeanusing the given bean name andBeanFactory.ControllerAdviceBean(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, MessageSource messageSource, Method method) Variant ofHandlerMethod(String, BeanFactory, Method)that also accepts aMessageSource. -
Uses of BeanFactory in org.springframework.web.servlet.mvc.method.annotation
Methods 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 BeanFactory -
Uses of BeanFactory in org.springframework.web.servlet.view
Methods in org.springframework.web.servlet.view that return BeanFactoryModifier and TypeMethodDescriptionprotected BeanFactoryResourceBundleViewResolver.initFactory(Locale locale) Deprecated.protected BeanFactoryXmlViewResolver.initFactory()Deprecated.Initialize the view bean factory from the XML file. -
Uses of BeanFactory in org.springframework.web.socket.client.standard
Methods 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.handler
Methods 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.standard
Methods in org.springframework.web.socket.server.standard with parameters of type BeanFactoryModifier and TypeMethodDescriptionvoidServerEndpointRegistration.setBeanFactory(BeanFactory beanFactory)