Uses of Interface
org.springframework.beans.factory.BeanFactoryAware
Package
Description
AspectJ integration package.
Classes enabling AspectJ 5 @Annotated classes to be used in Spring AOP.
Base classes enabling auto-proxying based on AspectJ.
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 package for annotation-driven bean configuration.
SPI interfaces and configuration-related convenience classes for bean factories.
Support package for the Java
ServiceLoader
facility.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.
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.
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.
Defines the Spring JDBC configuration namespace.
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.
Defines interfaces and implementation classes for messaging templates.
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 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.
Support classes for integrating a JSR-303 Bean Validation provider
(such as Hibernate Validator) into a Spring ApplicationContext
and in particular with Spring's data binding and validation APIs.
Support for asynchronous request processing.
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 BeanFactoryAware in org.springframework.aop.aspectj
Modifier and TypeClassDescriptionclass
SpringPointcut
implementation that uses the AspectJ weaver to evaluate a pointcut expression.class
Spring AOP Advisor that can be used for any AspectJ pointcut expression. -
Uses of BeanFactoryAware in org.springframework.aop.aspectj.annotation
Modifier and TypeClassDescriptionclass
AspectJAwareAdvisorAutoProxyCreator
subclass that processes all AspectJ annotation aspects in the current application context, as well as Spring Advisors. -
Uses of BeanFactoryAware in org.springframework.aop.aspectj.autoproxy
Modifier and TypeClassDescriptionclass
AbstractAdvisorAutoProxyCreator
subclass that exposes AspectJ's invocation context and understands AspectJ's rules for advice precedence when multiple pieces of advice come from the same aspect. -
Uses of BeanFactoryAware in org.springframework.aop.config
Modifier and TypeClassDescriptionclass
FactoryBean
implementation that locates aMethod
on a specified bean.class
Implementation ofAspectInstanceFactory
that locates the aspect from theBeanFactory
using a configured bean name. -
Uses of BeanFactoryAware in org.springframework.aop.framework
Modifier and TypeClassDescriptionclass
FactoryBean
implementation that builds an AOP proxy based on beans in a SpringBeanFactory
. -
Uses of BeanFactoryAware in org.springframework.aop.framework.autoproxy
Modifier and TypeClassDescriptionclass
Generic auto proxy creator that builds AOP proxies for specific beans based on detected Advisors for each bean.class
BeanPostProcessor
implementation that wraps each eligible bean with an AOP proxy, delegating to specified interceptors before invoking the bean itself.class
Extension ofAbstractAutoProxyCreator
which implementsBeanFactoryAware
, adds exposure of the original target class for each proxied bean (AutoProxyUtils.ORIGINAL_TARGET_CLASS_ATTRIBUTE
), and participates in an externally enforced target-class mode for any given bean (AutoProxyUtils.PRESERVE_TARGET_CLASS_ATTRIBUTE
).class
Auto proxy creator that identifies beans to proxy via a list of names.class
BeanPostProcessor
implementation that creates AOP proxies based on all candidateAdvisor
s in the currentBeanFactory
.class
Auto-proxy creator that considers infrastructure Advisor beans only, ignoring any application-defined Advisors. -
Uses of BeanFactoryAware in org.springframework.aop.framework.autoproxy.target
Modifier and TypeClassDescriptionclass
Convenient superclass forTargetSourceCreator
implementations that require creating multiple instances of a prototype bean.class
TargetSourceCreator
that enforces aLazyInitTargetSource
for each bean that is defined as "lazy-init".class
Convenient TargetSourceCreator using bean name prefixes to create one of three well-known TargetSource types: : CommonsPool2TargetSource % ThreadLocalTargetSource ! PrototypeTargetSource -
Uses of BeanFactoryAware in org.springframework.aop.interceptor
Modifier and TypeClassDescriptionclass
Base class for asynchronous method execution aspects, such asorg.springframework.scheduling.annotation.AnnotationAsyncExecutionInterceptor
ororg.springframework.scheduling.aspectj.AnnotationAsyncExecutionAspect
.class
AOP AllianceMethodInterceptor
that processes method invocations asynchronously, using a givenAsyncTaskExecutor
. -
Uses of BeanFactoryAware in org.springframework.aop.scope
Modifier and TypeClassDescriptionclass
Convenient proxy factory bean for scoped objects. -
Uses of BeanFactoryAware in org.springframework.aop.support
Modifier and TypeClassDescriptionclass
Abstract BeanFactory-based PointcutAdvisor that allows for any Advice to be configured as reference to an Advice bean in a BeanFactory.class
Concrete BeanFactory-based PointcutAdvisor that allows for any Advice to be configured as reference to an Advice bean in the BeanFactory, as well as the Pointcut to be configured through a bean property. -
Uses of BeanFactoryAware in org.springframework.aop.target
Modifier and TypeClassDescriptionclass
Base class forTargetSource
implementations that are based on a SpringBeanFactory
, delegating to Spring-managed bean instances.class
Abstract base class for poolingTargetSource
implementations which maintain a pool of target instances, acquiring and releasing a target object from the pool for each method invocation.class
Base class for dynamicTargetSource
implementations that create new prototype bean instances to support a pooling or new-instance-per-invocation strategy.class
TargetSource
implementation that holds objects in a configurable Apache Commons2 Pool.class
TargetSource
that lazily accesses a singleton bean from aBeanFactory
.class
TargetSource
implementation that creates a new instance of the target bean for each request, destroying each instance on release (after each request).class
SimpleTargetSource
implementation, freshly obtaining the specified target bean from its containing SpringBeanFactory
.class
Alternative to an object pool. -
Uses of BeanFactoryAware in org.springframework.beans.factory.annotation
Modifier and TypeClassDescriptionclass
BeanPostProcessor
implementation that autowires annotated fields, setter methods, and arbitrary config methods.class
AutowireCandidateResolver
implementation that matches bean definition qualifiers againstqualifier annotations
on the field or parameter to be autowired. -
Uses of BeanFactoryAware in org.springframework.beans.factory.config
Modifier and TypeClassDescriptionclass
Simple template superclass forFactoryBean
implementations that creates a singleton or a prototype object, depending on a flag.class
Simple factory for shared List instances.class
Simple factory for shared Map instances.class
Simple method invoker bean: just invoking a target method, not expecting a result to expose to the container (in contrast toMethodInvokingFactoryBean
).class
FactoryBean
which returns a value which is the result of a static or instance method invocation.class
AFactoryBean
implementation that returns a value which is anObjectFactory
that in turn returns a bean sourced from aBeanFactory
.class
Abstract base class for property resource configurers that resolve placeholders in bean definition property values.class
Deprecated.class
FactoryBean
that evaluates a property path on a given target object.class
Deprecated.as of 5.2; useorg.springframework.context.support.PropertySourcesPlaceholderConfigurer
instead which is more flexible through taking advantage of theEnvironment
andPropertySource
mechanisms.class
AFactoryBean
implementation that returns a value which is a JSR-330Provider
that in turn returns a bean sourced from aBeanFactory
.class
AFactoryBean
implementation that takes an interface which must have one or more methods with the signaturesMyType xxx()
orMyType xxx(MyIdType id)
(typically,MyService getService()
orMyService getService(String id)
) and creates a dynamic proxy which implements that interface, delegating to an underlyingBeanFactory
.class
Simple factory for shared Set instances. -
Uses of BeanFactoryAware in org.springframework.beans.factory.serviceloader
Modifier and TypeClassDescriptionclass
Abstract base class for FactoryBeans operating on the JDK 1.6ServiceLoader
facility.class
FactoryBean
that exposes the 'primary' service for the configured service class, obtained through the JDK 1.6ServiceLoader
facility.class
FactoryBean
that exposes all services for the configured service class, represented as a List of service objects, obtained through the JDK 1.6ServiceLoader
facility.class
FactoryBean
that exposes the JDK 1.6ServiceLoader
for the configured service class. -
Uses of BeanFactoryAware in org.springframework.beans.factory.support
Modifier and TypeClassDescriptionclass
BasicAutowireCandidateResolver
that performs a full generic type match with the candidate's type if the dependency is declared as a generic type (e.g. -
Uses of BeanFactoryAware in org.springframework.beans.factory.wiring
Modifier and TypeClassDescriptionclass
Convenient base class for bean configurers that can perform Dependency Injection on objects (however they may be created). -
Uses of BeanFactoryAware in org.springframework.cache.interceptor
Modifier and TypeClassDescriptionclass
Advisor driven by aCacheOperationSource
, used to include a cache advice bean for methods that are cacheable.class
Base class for caching aspects, such as theCacheInterceptor
or an AspectJ aspect.class
AOP Alliance MethodInterceptor for declarative cache management using the common Spring caching infrastructure (Cache
).class
Proxy factory bean for simplified declarative caching handling. -
Uses of BeanFactoryAware in org.springframework.cache.jcache.interceptor
Modifier and TypeClassDescriptionclass
Advisor driven by aJCacheOperationSource
, used to include a cache advice bean for methods that are cacheable.class
The defaultJCacheOperationSource
implementation delegating default operations to configurable services with sensible defaults when not present. -
Uses of BeanFactoryAware in org.springframework.context.annotation
Modifier and TypeClassDescriptionclass
BeanPostProcessor
implementation that supports common Java annotations out of the box, in particular the common annotations in thejakarta.annotation
package.class
Complete implementation of theAutowireCandidateResolver
strategy interface, providing support for qualifier annotations as well as for lazy resolution driven by theLazy
annotation in thecontext.annotation
package.class
@Configuration
class that registers aAnnotationMBeanExporter
bean. -
Uses of BeanFactoryAware in org.springframework.context.event
Modifier and TypeClassDescriptionclass
Abstract implementation of theApplicationEventMulticaster
interface, providing the basic listener registration facility.class
Simple implementation of theApplicationEventMulticaster
interface. -
Uses of BeanFactoryAware in org.springframework.context.support
Modifier and TypeClassDescriptionclass
Spring's default implementation of theLifecycleProcessor
strategy.class
Specialization ofPlaceholderConfigurerSupport
that resolves ${...} placeholders within bean definition property values and@Value
annotations against the current SpringEnvironment
and its set ofPropertySources
. -
Uses of BeanFactoryAware in org.springframework.context.weaving
Modifier and TypeClassDescriptionclass
BeanPostProcessor
implementation that passes the context's defaultLoadTimeWeaver
to beans that implement theLoadTimeWeaverAware
interface. -
Uses of BeanFactoryAware in org.springframework.dao.annotation
Modifier and TypeClassDescriptionclass
Bean post-processor that automatically applies persistence exception translation to any bean marked with Spring's @Repository
annotation, adding a correspondingPersistenceExceptionTranslationAdvisor
to the exposed proxy (either an existing AOP proxy or a newly generated proxy that implements all of the target's interfaces). -
Uses of BeanFactoryAware in org.springframework.dao.support
Modifier and TypeClassDescriptionclass
AOP Alliance MethodInterceptor that provides persistence exception translation based on a given PersistenceExceptionTranslator. -
Uses of BeanFactoryAware in org.springframework.jdbc.config
Modifier and TypeClassDescriptionclass
FactoryBean
implementation that takes a list of location Strings and creates a sorted array ofResource
instances. -
Uses of BeanFactoryAware in org.springframework.jdbc.datasource.lookup
Modifier and TypeClassDescriptionclass
DataSourceLookup
implementation based on a SpringBeanFactory
. -
Uses of BeanFactoryAware in org.springframework.jms.annotation
Modifier and TypeClassDescriptionclass
Bean post-processor that registers methods annotated withJmsListener
to be invoked by a JMS message listener container created under the cover by aJmsListenerContainerFactory
according to the attributes of the annotation. -
Uses of BeanFactoryAware in org.springframework.jms.config
Modifier and TypeClassDescriptionclass
Helper bean for registeringJmsListenerEndpoint
with aJmsListenerEndpointRegistry
.class
AJmsListenerEndpoint
providing the method to invoke to process an incoming message for this endpoint. -
Uses of BeanFactoryAware in org.springframework.jms.support.destination
Modifier and TypeClassDescriptionclass
DestinationResolver
implementation based on a SpringBeanFactory
. -
Uses of BeanFactoryAware in org.springframework.jmx.export
Modifier and TypeClassDescriptionclass
JMX exporter that allows for exposing any Spring-managed bean to a JMXMBeanServer
, without the need to define any JMX-specific information in the bean classes. -
Uses of BeanFactoryAware in org.springframework.jmx.export.annotation
Modifier and TypeClassDescriptionclass
Implementation of theJmxAttributeSource
interface that reads annotations and exposes the corresponding attributes.class
Convenient subclass of Spring's standardMBeanExporter
, activating annotation usage for JMX exposure of Spring beans:ManagedResource
,ManagedAttribute
,ManagedOperation
, etc. -
Uses of BeanFactoryAware in org.springframework.jndi
-
Uses of BeanFactoryAware in org.springframework.messaging.core
Modifier and TypeClassDescriptionclass
An implementation ofDestinationResolver
that interprets a destination name as the bean name of aMessageChannel
and looks up the bean in the configuredBeanFactory
.class
A messaging template that resolves destinations names toMessageChannel
's to send and receive messages from. -
Uses of BeanFactoryAware in org.springframework.messaging.handler.annotation.support
Modifier and TypeClassDescriptionclass
The defaultMessageHandlerMethodFactory
implementation creating anInvocableHandlerMethod
with the necessaryHandlerMethodArgumentResolver
instances to detect and process most of the use cases defined byMessageMapping
. -
Uses of BeanFactoryAware in org.springframework.orm.hibernate5
Modifier and TypeClassDescriptionclass
PlatformTransactionManager
implementation for a single HibernateSessionFactory
.class
FactoryBean
that creates a HibernateSessionFactory
. -
Uses of BeanFactoryAware in org.springframework.orm.jpa
Modifier and TypeClassDescriptionclass
AbstractFactoryBean
that creates a local JPAEntityManagerFactory
instance within a Spring application context.class
Base class for any class that needs to access a JPAEntityManagerFactory
, usually in order to obtain a JPAEntityManager
.class
PlatformTransactionManager
implementation for a single JPAEntityManagerFactory
.class
FactoryBean
that creates a JPAEntityManagerFactory
according to JPA's standard container bootstrap contract.class
FactoryBean
that creates a JPAEntityManagerFactory
according to JPA's standard standalone bootstrap contract. -
Uses of BeanFactoryAware in org.springframework.orm.jpa.support
Modifier and TypeClassDescriptionclass
Spring web request interceptor that binds a JPA EntityManager to the thread for the entire processing of the request.class
BeanPostProcessor that processesPersistenceUnit
andPersistenceContext
annotations, for injection of the corresponding JPA resourcesEntityManagerFactory
andEntityManager
.class
FactoryBean
that exposes a shared JPAEntityManager
reference for a given EntityManagerFactory. -
Uses of BeanFactoryAware in org.springframework.r2dbc.connection.lookup
Modifier and TypeClassDescriptionclass
ConnectionFactoryLookup
implementation based on a SpringBeanFactory
. -
Uses of BeanFactoryAware in org.springframework.scheduling.annotation
Modifier and TypeClassDescriptionclass
Specialization ofAsyncExecutionInterceptor
that delegates method execution to anExecutor
based on theAsync
annotation.class
Advisor that activates asynchronous method execution through theAsync
annotation.class
Bean post-processor that automatically applies asynchronous invocation behavior to any bean that carries theAsync
annotation at class or method-level by adding a correspondingAsyncAnnotationAdvisor
to the exposed proxy (either an existing AOP proxy or a newly generated proxy that implements all the target's interfaces).class
Bean post-processor that registers methods annotated with@Scheduled
to be invoked by aTaskScheduler
according to the "fixedRate", "fixedDelay", or "cron" expression provided via the annotation. -
Uses of BeanFactoryAware in org.springframework.scheduling.config
Modifier and TypeClassDescriptionclass
A routing implementation of theTaskScheduler
interface, delegating to a target scheduler based on an identified qualifier or using a default scheduler otherwise. -
Uses of BeanFactoryAware in org.springframework.scheduling.quartz
Modifier and TypeClassDescriptionclass
FactoryBean
that exposes aJobDetail
object which delegates job execution to a specified (static or non-static) method.class
Spring bean-style class for accessing a Quartz Scheduler, i.e. -
Uses of BeanFactoryAware in org.springframework.scripting.groovy
-
Uses of BeanFactoryAware in org.springframework.scripting.support
Modifier and TypeClassDescriptionclass
BeanPostProcessor
that handlesScriptFactory
definitions, replacing each factory with the actual scripted Java object generated by it. -
Uses of BeanFactoryAware in org.springframework.transaction.interceptor
Modifier and TypeClassDescriptionclass
Advisor driven by aTransactionAttributeSource
, used to include a transaction advice bean for methods that are transactional.class
Base class for transactional aspects, such as theTransactionInterceptor
or an AspectJ aspect.class
AOP Alliance MethodInterceptor for declarative transaction management using the common Spring transaction infrastructure (PlatformTransactionManager
/ReactiveTransactionManager
).class
Proxy factory bean for simplified declarative transaction handling. -
Uses of BeanFactoryAware in org.springframework.validation.beanvalidation
Modifier and TypeClassDescriptionclass
A convenientBeanPostProcessor
implementation that delegates to a JSR-303 provider for performing method-level validation on annotated methods. -
Uses of BeanFactoryAware in org.springframework.web.context.request.async
Modifier and TypeClassDescriptionclass
WebAsyncTask<V>
Holder for aCallable
, a timeout value, and a task executor. -
Uses of BeanFactoryAware in org.springframework.web.servlet.mvc.method.annotation
Modifier and TypeClassDescriptionclass
-
Uses of BeanFactoryAware in org.springframework.web.socket.client.standard
Modifier and TypeClassDescriptionclass
WebSocketconnection manager
that connects to the server viaWebSocketContainer
and handles the session with an@ClientEndpoint
endpoint.class
WebSocketconnection manager
that connects to the server viaWebSocketContainer
and handles the session with anEndpoint
. -
Uses of BeanFactoryAware in org.springframework.web.socket.handler
Modifier and TypeClassDescriptionclass
Instantiates a target handler through a SpringBeanFactory
and also provides an equivalent destroy method.class
AWebSocketHandler
that initializes and destroys aWebSocketHandler
instance for each WebSocket connection and delegates all other methods to it. -
Uses of BeanFactoryAware in org.springframework.web.socket.server.standard
Modifier and TypeClassDescriptionclass
An implementation ofServerEndpointConfig
for use in Spring-based applications.
PropertyPlaceholderConfigurer