Uses of Interface
org.springframework.beans.factory.DisposableBean
Packages that use DisposableBean
Package
Description
Classes enabling AspectJ 5 @Annotated classes to be used in Spring AOP.
Base classes enabling auto-proxying based on AspectJ.
Various
TargetSourceCreator
implementations for use with Spring's AOP auto-proxying support.Various
TargetSource
implementations for use
with Spring AOP.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.
Implementation package for JSR-107 (javax.cache aka "JCache") based caches.
Load-time weaving support for a Spring application context, building on Spring's
LoadTimeWeaver
abstraction.Contains an abstraction over client-side HTTP.
Abstractions for reactive HTTP client support including
ClientHttpRequest
and
ClientHttpResponse
as well as a
ClientHttpConnector
.This package provides a facility for generic JCA message endpoint management.
Provides generic support classes for JCA usage within Spring,
mainly for local setup of a JCA ResourceAdapter and/or ConnectionFactory.
Defines the Spring JDBC configuration namespace.
Provides a utility class for easy DataSource access,
a PlatformTransactionManager for a single DataSource,
and various simple DataSource implementations.
Provides extensible support for creating embedded database instances.
Provides extensible support for initializing databases through scripts.
Support package for declarative messaging configuration,
with Java configuration and XML schema support.
Provides a PlatformTransactionManager implementation for a single
JMS ConnectionFactory, and a SingleConnectionFactory adapter.
This package contains the base message listener container facility.
This package provides JCA-based endpoint management for JMS message listeners.
Provides support for accessing remote MBean resources.
This package provides declarative creation and registration of
Spring-managed beans as JMX MBeans.
Annotations for MBean exposure.
Contains support classes for connecting to local and remote
MBeanServer
s
and for exposing an MBeanServer
to remote clients.Package providing integration of
Hibernate 5.x
with Spring concepts.
Classes supporting the
org.springframework.orm.hibernate5
package.Package providing integration of JPA (Java Persistence API) with Spring concepts.
Classes supporting the
org.springframework.orm.jpa
package.Provides a utility class for easy ConnectionFactory access,
a ReactiveTransactionManager for a single ConnectionFactory,
and various simple ConnectionFactory implementations.
Provides extensible support for initializing databases through scripts.
Annotation support for asynchronous method execution.
Scheduling convenience classes for the
java.util.concurrent
and jakarta.enterprise.concurrent
packages, allowing to set up a
ThreadPoolExecutor or ScheduledThreadPoolExecutor as a bean in a Spring
context.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.
Support classes for Spring's scripting package.
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.
Classes supporting the
org.springframework.web.context
package,
such as WebApplicationContext implementations and various utility classes.Provides generic filter base classes allowing for bean-style configuration.
Support classes for the multipart resolution framework.
Standard controller implementations for the Servlet MVC framework that comes with
Spring.
Support classes for serving static resources.
Provides standard View and ViewResolver implementations,
including abstract base classes for custom implementations.
-
Uses of DisposableBean in org.springframework.aop.aspectj.annotation
Classes in org.springframework.aop.aspectj.annotation that implement DisposableBeanModifier and TypeClassDescriptionclass
AspectJAwareAdvisorAutoProxyCreator
subclass that processes all AspectJ annotation aspects in the current application context, as well as Spring Advisors. -
Uses of DisposableBean in org.springframework.aop.aspectj.autoproxy
Classes in org.springframework.aop.aspectj.autoproxy that implement DisposableBeanModifier 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 DisposableBean in org.springframework.aop.framework.autoproxy.target
Classes in org.springframework.aop.framework.autoproxy.target that implement DisposableBeanModifier 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 DisposableBean in org.springframework.aop.target
Classes in org.springframework.aop.target that implement DisposableBeanModifier and TypeClassDescriptionclass
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
TargetSource
implementation that holds objects in a configurable Apache Commons2 Pool.class
Alternative to an object pool. -
Uses of DisposableBean in org.springframework.beans.factory.config
Classes in org.springframework.beans.factory.config that implement DisposableBeanModifier 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
AFactoryBean
implementation that returns a value which is anObjectFactory
that in turn returns a bean sourced from aBeanFactory
.class
AFactoryBean
implementation that returns a value which is a JSR-330Provider
that in turn returns a bean sourced from aBeanFactory
.class
Simple factory for shared Set instances. -
Uses of DisposableBean in org.springframework.beans.factory.serviceloader
Classes in org.springframework.beans.factory.serviceloader that implement DisposableBeanModifier 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 DisposableBean in org.springframework.beans.factory.support
Methods in org.springframework.beans.factory.support with parameters of type DisposableBeanModifier and TypeMethodDescriptionprotected void
DefaultSingletonBeanRegistry.destroyBean
(String beanName, DisposableBean bean) Destroy the given bean.void
DefaultSingletonBeanRegistry.registerDisposableBean
(String beanName, DisposableBean bean) Add the given bean to the list of disposable beans in this registry. -
Uses of DisposableBean in org.springframework.beans.factory.wiring
Classes in org.springframework.beans.factory.wiring that implement DisposableBeanModifier and TypeClassDescriptionclass
Convenient base class for bean configurers that can perform Dependency Injection on objects (however they may be created). -
Uses of DisposableBean in org.springframework.cache.jcache
Classes in org.springframework.cache.jcache that implement DisposableBeanModifier and TypeClassDescriptionclass
FactoryBean
for a JCachejavax.cache.CacheManager
, obtaining a pre-definedCacheManager
by name through the standard JCachejavax.cache.Caching
class. -
Uses of DisposableBean in org.springframework.context.weaving
Classes in org.springframework.context.weaving that implement DisposableBeanModifier and TypeClassDescriptionclass
DefaultLoadTimeWeaver
bean for use in an application context, decorating an automatically detected internalLoadTimeWeaver
. -
Uses of DisposableBean in org.springframework.http.client
Classes in org.springframework.http.client that implement DisposableBeanModifier and TypeClassDescriptionclass
ClientHttpRequestFactory
implementation that uses Apache HttpComponents HttpClient to create requests.class
ClientHttpRequestFactory
implementation based on Jetty'sHttpClient
.class
Deprecated, for removal: This API element is subject to removal in a future version.class
Factory to manage Reactor Netty resources, i.e. -
Uses of DisposableBean in org.springframework.http.client.reactive
Classes in org.springframework.http.client.reactive that implement DisposableBeanModifier and TypeClassDescriptionclass
Factory to manage JDK HttpClient resources such as a sharedExecutor
within the lifecycle of a SpringApplicationContext
.class
Factory to manage Jetty resources, i.e.class
Factory to manage Reactor Netty resources, i.e.class
Deprecated.since 6.1 due to a package change; useReactorResourceFactory
instead. -
Uses of DisposableBean in org.springframework.jca.endpoint
Classes in org.springframework.jca.endpoint that implement DisposableBeanModifier and TypeClassDescriptionclass
Generic bean that manages JCA 1.7 message endpoints within a Spring application context, activating and deactivating the endpoint as part of the application context's lifecycle. -
Uses of DisposableBean in org.springframework.jca.support
Classes in org.springframework.jca.support that implement DisposableBeanModifier and TypeClassDescriptionclass
FactoryBean
that bootstraps the specified JCA 1.7ResourceAdapter
, starting it with a localBootstrapContext
and exposing it for bean references. -
Uses of DisposableBean in org.springframework.jdbc.config
Classes in org.springframework.jdbc.config that implement DisposableBeanModifier and TypeClassDescriptionclass
FactoryBean
implementation that takes a list of location Strings and creates a sorted array ofResource
instances. -
Uses of DisposableBean in org.springframework.jdbc.datasource
Classes in org.springframework.jdbc.datasource that implement DisposableBeanModifier and TypeClassDescriptionclass
Implementation ofSmartDataSource
that wraps a single JDBC Connection which is not closed after use. -
Uses of DisposableBean in org.springframework.jdbc.datasource.embedded
Classes in org.springframework.jdbc.datasource.embedded that implement DisposableBeanModifier and TypeClassDescriptionclass
A subclass ofEmbeddedDatabaseFactory
that implementsFactoryBean
for registration as a Spring bean. -
Uses of DisposableBean in org.springframework.jdbc.datasource.init
Classes in org.springframework.jdbc.datasource.init that implement DisposableBeanModifier and TypeClassDescriptionclass
-
Uses of DisposableBean in org.springframework.jms.config
Classes in org.springframework.jms.config that implement DisposableBeanModifier and TypeClassDescriptionclass
Creates the necessaryMessageListenerContainer
instances for the registered endpoints. -
Uses of DisposableBean in org.springframework.jms.connection
Classes in org.springframework.jms.connection that implement DisposableBeanModifier and TypeClassDescriptionclass
SingleConnectionFactory
subclass that addsSession
caching as well asMessageProducer
andMessageConsumer
caching.class
A JMS ConnectionFactory adapter that returns the same Connection from allSingleConnectionFactory.createConnection()
calls, and ignores calls toConnection.close()
. -
Uses of DisposableBean in org.springframework.jms.listener
Classes in org.springframework.jms.listener that implement DisposableBeanModifier and TypeClassDescriptionclass
Common base class for all containers which need to implement listening based on a JMS Connection (either shared or freshly obtained for each attempt).class
Abstract base class for Spring message listener container implementations.class
Base class for listener container implementations which are based on polling.class
Message listener container variant that uses plain JMS client APIs, specifically a loop ofMessageConsumer.receive()
calls that also allow for transactional reception of messages (registering them with XA transactions).class
Message listener container that uses the plain JMS client API'sMessageConsumer.setMessageListener()
method to create concurrent MessageConsumers for the specified listeners. -
Uses of DisposableBean in org.springframework.jms.listener.endpoint
Classes in org.springframework.jms.listener.endpoint that implement DisposableBeanModifier and TypeClassDescriptionclass
Extension of the generic JCA 1.5GenericMessageEndpointManager
, adding JMS-specific support for ActivationSpec configuration. -
Uses of DisposableBean in org.springframework.jmx.access
Classes in org.springframework.jmx.access that implement DisposableBeanModifier and TypeClassDescriptionclass
MethodInterceptor
that routes calls to an MBean running on the suppliedMBeanServerConnection
.class
Creates a proxy to a managed resource running either locally or remotely.class
Registrar object that associates a specificNotificationListener
with one or more MBeans in anMBeanServer
(typically via aMBeanServerConnection
). -
Uses of DisposableBean in org.springframework.jmx.export
Classes in org.springframework.jmx.export that implement DisposableBeanModifier 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 DisposableBean in org.springframework.jmx.export.annotation
Classes in org.springframework.jmx.export.annotation that implement DisposableBeanModifier and TypeClassDescriptionclass
Convenient subclass of Spring's standardMBeanExporter
, activating annotation usage for JMX exposure of Spring beans:ManagedResource
,ManagedAttribute
,ManagedOperation
, etc. -
Uses of DisposableBean in org.springframework.jmx.support
Classes in org.springframework.jmx.support that implement DisposableBeanModifier and TypeClassDescriptionclass
FactoryBean
that creates a JSR-160JMXConnectorServer
, optionally registers it with theMBeanServer
, and then starts it.class
FactoryBean
that creates a JMX 1.2MBeanServerConnection
to a remoteMBeanServer
exposed via aJMXServerConnector
.class
FactoryBean
that obtains aMBeanServer
reference through the standard JMX 1.2MBeanServerFactory
API. -
Uses of DisposableBean in org.springframework.orm.hibernate5
Classes in org.springframework.orm.hibernate5 that implement DisposableBean -
Uses of DisposableBean in org.springframework.orm.hibernate5.support
Classes in org.springframework.orm.hibernate5.support that implement DisposableBeanModifier and TypeClassDescriptionclass
Servlet Filter that binds a Hibernate Session to the thread for the entire processing of the request. -
Uses of DisposableBean in org.springframework.orm.jpa
Classes in org.springframework.orm.jpa that implement DisposableBeanModifier and TypeClassDescriptionclass
AbstractFactoryBean
that creates a local JPAEntityManagerFactory
instance within a Spring application context.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 DisposableBean in org.springframework.orm.jpa.support
Classes in org.springframework.orm.jpa.support that implement DisposableBeanModifier and TypeClassDescriptionclass
Servlet Filter that binds a JPA EntityManager to the thread for the entire processing of the request. -
Uses of DisposableBean in org.springframework.r2dbc.connection
Classes in org.springframework.r2dbc.connection that implement DisposableBeanModifier and TypeClassDescriptionclass
Implementation ofDelegatingConnectionFactory
that wraps a single R2DBCConnection
which is not closed after use. -
Uses of DisposableBean in org.springframework.r2dbc.connection.init
Classes in org.springframework.r2dbc.connection.init that implement DisposableBeanModifier and TypeClassDescriptionclass
-
Uses of DisposableBean in org.springframework.scheduling.annotation
Classes in org.springframework.scheduling.annotation that implement DisposableBeanModifier and TypeClassDescriptionclass
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 DisposableBean in org.springframework.scheduling.concurrent
Classes in org.springframework.scheduling.concurrent that implement DisposableBeanModifier and TypeClassDescriptionclass
Base class for setting up aExecutorService
(typically aThreadPoolExecutor
orScheduledThreadPoolExecutor
).class
A SpringFactoryBean
that builds and exposes a preconfiguredForkJoinPool
.class
FactoryBean
that sets up aScheduledExecutorService
(by default: aScheduledThreadPoolExecutor
) and exposes it for bean references.class
JavaBean that allows for configuring aThreadPoolExecutor
in bean style (through its "corePoolSize", "maxPoolSize", "keepAliveSeconds", "queueCapacity" properties) and exposing it as a bean reference of its nativeExecutorService
type.class
JavaBean that allows for configuring aThreadPoolExecutor
in bean style (through its "corePoolSize", "maxPoolSize", "keepAliveSeconds", "queueCapacity" properties) and exposing it as a SpringTaskExecutor
.class
A standard implementation of Spring'sTaskScheduler
interface, wrapping a nativeScheduledThreadPoolExecutor
and providing all applicable configuration options for it. -
Uses of DisposableBean in org.springframework.scheduling.config
Classes in org.springframework.scheduling.config that implement DisposableBeanModifier and TypeClassDescriptionclass
ScheduledTaskRegistrar
subclass which redirects the actual scheduling of tasks to theContextLifecycleScheduledTaskRegistrar.afterSingletonsInstantiated()
callback (as of 4.1.2).class
Helper bean for registering tasks with aTaskScheduler
, typically using cron expressions.class
FactoryBean
for creatingThreadPoolTaskExecutor
instances, primarily used behind the XML task namespace.class
A routing implementation of theTaskScheduler
interface, delegating to a target scheduler based on an identified qualifier or using a default scheduler otherwise. -
Uses of DisposableBean in org.springframework.scheduling.quartz
Classes in org.springframework.scheduling.quartz that implement DisposableBeanModifier and TypeClassDescriptionclass
FactoryBean
that creates and configures a QuartzScheduler
, manages its lifecycle as part of the Spring application context, and exposes the Scheduler as bean reference for dependency injection.class
Subclass of Quartz's SimpleThreadPool that implements Spring'sTaskExecutor
interface and listens to Spring lifecycle callbacks. -
Uses of DisposableBean in org.springframework.scripting.support
Classes in org.springframework.scripting.support that implement DisposableBeanModifier and TypeClassDescriptionclass
BeanPostProcessor
that handlesScriptFactory
definitions, replacing each factory with the actual scripted Java object generated by it. -
Uses of DisposableBean in org.springframework.validation.beanvalidation
Classes in org.springframework.validation.beanvalidation that implement DisposableBeanModifier and TypeClassDescriptionclass
This is the central class forjakarta.validation
(JSR-303) setup in a Spring application context: It bootstraps ajakarta.validation.ValidationFactory
and exposes it through the SpringValidator
interface as well as through the JSR-303Validator
interface and theValidatorFactory
interface itself.class
LocalValidatorFactoryBean
subclass that simply turnsValidator
calls into no-ops in case of no Bean Validation provider being available. -
Uses of DisposableBean in org.springframework.web.context.support
Classes in org.springframework.web.context.support that implement DisposableBean -
Uses of DisposableBean in org.springframework.web.filter
Classes in org.springframework.web.filter that implement DisposableBeanModifier and TypeClassDescriptionclass
Base class forFilter
s that perform logging operations before and after a request is processed.class
Servlet Filter that allows one to specify a character encoding for requests.class
Simple request logging filter that writes the request URI (and optionally the query string) to the Commons Log.class
Filter
to handle CORS pre-flight requests and intercept CORS simple and actual requests with aCorsProcessor
, and to update the response, e.g.class
Proxy for a standard Servlet Filter, delegating to a Spring-managed bean that implements the Filter interface.class
Filter
that parses form data for HTTP PUT, PATCH, and DELETE requests and exposes it as Servlet request parameters.class
Extract values from "Forwarded" and "X-Forwarded-*" headers, wrap the request and response, and make they reflect the client-originated protocol and address in the following methods:getServerName()
getServerPort()
getScheme()
isSecure()
sendRedirect(String)
.class
Simple base implementation ofFilter
which treats its config parameters (init-param
entries within thefilter
tag inweb.xml
) as bean properties.class
Filter
that converts posted method parameters into HTTP methods, retrievable viaHttpServletRequest.getMethod()
.class
Filter base class that aims to guarantee a single execution per request dispatch, on any servlet container.class
OverridesHttpServletResponse.sendRedirect(String)
and handles it by setting the HTTP status and "Location" headers, which keeps the Servlet container from re-writing relative redirect URLs into absolute ones.class
Servlet Filter that exposes the request to the current thread, through bothLocaleContextHolder
andRequestContextHolder
.class
Filter
that createsobservations
for HTTP exchanges.class
Simple request logging filter that writes the request URI (and optionally the query string) to the ServletContext log.class
Filter
that generates anETag
value based on the content on the response.final class
Filter
that can be configured to trim a trailing slashes, and either send a redirect or wrap the request and continue processing. -
Uses of DisposableBean in org.springframework.web.multipart.support
Classes in org.springframework.web.multipart.support that implement DisposableBeanModifier and TypeClassDescriptionclass
Servlet Filter that resolves multipart requests via aMultipartResolver
. -
Uses of DisposableBean in org.springframework.web.servlet.mvc
Classes in org.springframework.web.servlet.mvc that implement DisposableBeanModifier and TypeClassDescriptionclass
Spring Controller implementation that wraps a servlet instance which it manages internally. -
Uses of DisposableBean in org.springframework.web.servlet.resource
Classes in org.springframework.web.servlet.resource that implement DisposableBeanModifier and TypeClassDescriptionclass
A filter that wraps theHttpServletResponse
and overrides itsencodeURL
method in order to translate internal resource request URLs into public URL paths for external use. -
Uses of DisposableBean in org.springframework.web.servlet.view
Classes in org.springframework.web.servlet.view that implement DisposableBeanModifier and TypeClassDescriptionclass
Deprecated.as of 5.3, in favor of Spring's common view resolver variants and/or custom resolver implementationsclass
Deprecated.as of 5.3, in favor of Spring's common view resolver variants and/or custom resolver implementations
ClientHttpRequestFactory
implementations; scheduled for removal in 6.2