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
MBeanServers
and for exposing an MBeanServer to remote clients.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 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.
-
Uses of DisposableBean in org.springframework.aop.aspectj.annotation
Classes in org.springframework.aop.aspectj.annotation that implement DisposableBeanModifier and TypeClassDescriptionclassAspectJAwareAdvisorAutoProxyCreatorsubclass 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 TypeClassDescriptionclassAbstractAdvisorAutoProxyCreatorsubclass 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 TypeClassDescriptionclassConvenient superclass forTargetSourceCreatorimplementations that require creating multiple instances of a prototype bean.classTargetSourceCreatorthat enforces aLazyInitTargetSourcefor each bean that is defined as "lazy-init".classConvenient 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 TypeClassDescriptionclassAbstract base class for poolingTargetSourceimplementations which maintain a pool of target instances, acquiring and releasing a target object from the pool for each method invocation.classTargetSourceimplementation that holds objects in a configurable Apache Commons2 Pool.classAlternative to an object pool. -
Uses of DisposableBean in org.springframework.beans.factory.config
Classes in org.springframework.beans.factory.config that implement DisposableBeanModifier and TypeClassDescriptionclassSimple template superclass forFactoryBeanimplementations that creates a singleton or a prototype object, depending on a flag.classSimple factory for shared List instances.classSimple factory for shared Map instances.classAFactoryBeanimplementation that returns a value which is anObjectFactorythat in turn returns a bean sourced from aBeanFactory.classAFactoryBeanimplementation that returns a value which is a JSR-330Providerthat in turn returns a bean sourced from aBeanFactory.classSimple 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 TypeClassDescriptionclassAbstract base class for FactoryBeans operating on the JDK 1.6ServiceLoaderfacility.classFactoryBeanthat exposes the 'primary' service for the configured service class, obtained through the JDK 1.6ServiceLoaderfacility.classFactoryBeanthat exposes all services for the configured service class, represented as a List of service objects, obtained through the JDK 1.6ServiceLoaderfacility.classFactoryBeanthat exposes the JDK 1.6ServiceLoaderfor 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 voidDefaultSingletonBeanRegistry.destroyBean(String beanName, @Nullable DisposableBean bean) Destroy the given bean.voidDefaultSingletonBeanRegistry.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 TypeClassDescriptionclassConvenient 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 TypeClassDescriptionclassFactoryBeanfor a JCachejavax.cache.CacheManager, obtaining a pre-definedCacheManagerby name through the standard JCachejavax.cache.Cachingclass. -
Uses of DisposableBean in org.springframework.context.weaving
Classes in org.springframework.context.weaving that implement DisposableBeanModifier and TypeClassDescriptionclassDefaultLoadTimeWeaverbean 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 TypeClassDescriptionclassClientHttpRequestFactoryimplementation that uses Apache HttpComponents HttpClient to create requests.classClientHttpRequestFactoryimplementation based on Jetty'sHttpClient.classFactory 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 TypeClassDescriptionclassFactory to manage JDK HttpClient resources such as a sharedExecutorwithin the lifecycle of a SpringApplicationContext.classFactory to manage Jetty resources, i.e. -
Uses of DisposableBean in org.springframework.jca.endpoint
Classes in org.springframework.jca.endpoint that implement DisposableBeanModifier and TypeClassDescriptionclassGeneric 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 TypeClassDescriptionclassFactoryBeanthat bootstraps the specified JCA 1.7ResourceAdapter, starting it with a localBootstrapContextand exposing it for bean references. -
Uses of DisposableBean in org.springframework.jdbc.config
Classes in org.springframework.jdbc.config that implement DisposableBeanModifier and TypeClassDescriptionclassFactoryBeanimplementation that takes a list of location Strings and creates a sorted array ofResourceinstances. -
Uses of DisposableBean in org.springframework.jdbc.datasource
Classes in org.springframework.jdbc.datasource that implement DisposableBeanModifier and TypeClassDescriptionclassImplementation ofSmartDataSourcethat 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 TypeClassDescriptionclassA subclass ofEmbeddedDatabaseFactorythat implementsFactoryBeanfor 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 TypeClassDescriptionclassCreates the necessaryMessageListenerContainerinstances for the registered endpoints. -
Uses of DisposableBean in org.springframework.jms.connection
Classes in org.springframework.jms.connection that implement DisposableBeanModifier and TypeClassDescriptionclassSingleConnectionFactorysubclass that addsSessioncaching as well asMessageProducerandMessageConsumercaching.classA 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 TypeClassDescriptionclassCommon base class for all containers which need to implement listening based on a JMS Connection (either shared or freshly obtained for each attempt).classAbstract base class for Spring message listener container implementations.classBase class for listener container implementations which are based on polling.classMessage listener container variant that uses plain JMS client APIs, specifically a loop ofMessageConsumer.receive()calls that also allow for transactional receipt of messages (registering them with XA transactions).classMessage 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 TypeClassDescriptionclassExtension 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 TypeClassDescriptionclassMethodInterceptorthat routes calls to an MBean running on the suppliedMBeanServerConnection.classCreates a proxy to a managed resource running either locally or remotely.classRegistrar object that associates a specificNotificationListenerwith 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 TypeClassDescriptionclassJMX 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 TypeClassDescriptionclassConvenient 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 TypeClassDescriptionclassFactoryBeanthat creates a JSR-160JMXConnectorServer, optionally registers it with theMBeanServer, and then starts it.classFactoryBeanthat creates a JMX 1.2MBeanServerConnectionto a remoteMBeanServerexposed via aJMXServerConnector.classFactoryBeanthat obtains aMBeanServerreference through the standard JMX 1.2MBeanServerFactoryAPI. -
Uses of DisposableBean in org.springframework.orm.jpa
Classes in org.springframework.orm.jpa that implement DisposableBeanModifier and TypeClassDescriptionclassAbstractFactoryBeanthat creates a local JPAEntityManagerFactoryinstance within a Spring application context.classFactoryBeanthat creates a JPAEntityManagerFactoryaccording to JPA's standard container bootstrap contract.classFactoryBeanthat creates a JPAEntityManagerFactoryaccording to JPA's standard standalone bootstrap contract. -
Uses of DisposableBean in org.springframework.orm.jpa.hibernate
Classes in org.springframework.orm.jpa.hibernate that implement DisposableBean -
Uses of DisposableBean in org.springframework.orm.jpa.support
Classes in org.springframework.orm.jpa.support that implement DisposableBeanModifier and TypeClassDescriptionclassServlet 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 TypeClassDescriptionclassImplementation ofDelegatingConnectionFactorythat wraps a single R2DBCConnectionwhich 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 TypeClassDescriptionclassBean post-processor that registers methods annotated with@Scheduledto be invoked by aTaskScheduleraccording 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 TypeClassDescriptionclassBase class for setting up aExecutorService(typically aThreadPoolExecutororScheduledThreadPoolExecutor).classA SpringFactoryBeanthat builds and exposes a preconfiguredForkJoinPool.classFactoryBeanthat sets up aScheduledExecutorService(by default: aScheduledThreadPoolExecutor) and exposes it for bean references.classJavaBean that allows for configuring aThreadPoolExecutorin bean style (through its "corePoolSize", "maxPoolSize", "keepAliveSeconds", "queueCapacity" properties) and exposing it as a bean reference of its nativeExecutorServicetype.classJavaBean that allows for configuring aThreadPoolExecutorin bean style (through its "corePoolSize", "maxPoolSize", "keepAliveSeconds", "queueCapacity" properties) and exposing it as a SpringTaskExecutor.classA standard implementation of Spring'sTaskSchedulerinterface, wrapping a nativeScheduledThreadPoolExecutorand 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 TypeClassDescriptionclassScheduledTaskRegistrarsubclass which redirects the actual scheduling of tasks to theContextLifecycleScheduledTaskRegistrar.afterSingletonsInstantiated()callback (as of 4.1.2).classHelper bean for registering tasks with aTaskScheduler, typically using cron expressions.classFactoryBeanfor creatingThreadPoolTaskExecutorinstances, primarily used behind the XML task namespace.classA routing implementation of theTaskSchedulerinterface, 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 TypeClassDescriptionclassFactoryBeanthat 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.classSubclass of Quartz's SimpleThreadPool that implements Spring'sTaskExecutorinterface and listens to Spring lifecycle callbacks. -
Uses of DisposableBean in org.springframework.scripting.support
Classes in org.springframework.scripting.support that implement DisposableBeanModifier and TypeClassDescriptionclassBeanPostProcessorthat handlesScriptFactorydefinitions, 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 TypeClassDescriptionclassThis is the central class forjakarta.validation(JSR-303) setup in a Spring application context: It bootstraps ajakarta.validation.ValidationFactoryand exposes it through the SpringValidatorinterface as well as through the JSR-303Validatorinterface and theValidatorFactoryinterface itself.classLocalValidatorFactoryBeansubclass that simply turnsValidatorcalls 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 TypeClassDescriptionclassBase class forFilters that perform logging operations before and after a request is processed.classServlet Filter that allows one to specify a character encoding for requests.classSimple request logging filter that writes the request URI (and optionally the query string) to the Commons Log.classFilterto handle CORS pre-flight requests and intercept CORS simple and actual requests with aCorsProcessor, and to update the response, for example, with CORS response headers, based on the policy matched through the providedCorsConfigurationSource.classProxy for a standard Servlet Filter, delegating to a Spring-managed bean that implements the Filter interface.classFilterthat parses form data for HTTP PUT, PATCH, and DELETE requests and exposes it as Servlet request parameters.classExtract 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).classSimple base implementation ofFilterwhich treats its config parameters (init-paramentries within thefiltertag inweb.xml) as bean properties.classFilterthat converts posted method parameters into HTTP methods, retrievable viaHttpServletRequest.getMethod().classFilter base class that aims to guarantee a single execution per request dispatch, on any servlet container.classOverridesHttpServletResponse.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.classServlet Filter that exposes the request to the current thread, through bothLocaleContextHolderandRequestContextHolder.classFilterthat createsobservationsfor HTTP exchanges.classSimple request logging filter that writes the request URI (and optionally the query string) to the ServletContext log.classFilterthat generates anETagvalue based on the content on the response.final classFilterthat modifies the URL, and then either redirects or wraps the request to effect the change. -
Uses of DisposableBean in org.springframework.web.multipart.support
Classes in org.springframework.web.multipart.support that implement DisposableBeanModifier and TypeClassDescriptionclassServlet 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 TypeClassDescriptionclassSpring 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 TypeClassDescriptionclassA filter that wraps theHttpServletResponseand overrides itsencodeURLmethod in order to translate internal resource request URLs into public URL paths for external use.