Package | Description |
---|---|
org.springframework.aop.interceptor |
Provides miscellaneous interceptor implementations.
|
org.springframework.core.task |
This package defines Spring's core TaskExecutor abstraction,
and provides SyncTaskExecutor and SimpleAsyncTaskExecutor implementations.
|
org.springframework.core.task.support |
Support classes for Spring's TaskExecutor abstraction.
|
org.springframework.jca.work |
Convenience classes for scheduling based on the JCA WorkManager facility,
as supported within ResourceAdapters.
|
org.springframework.orm.hibernate5 |
Package providing integration of
Hibernate 5.x
with Spring concepts.
|
org.springframework.orm.jpa |
Package providing integration of JPA (Java Persistence API) with Spring concepts.
|
org.springframework.scheduling |
General exceptions for Spring's scheduling support,
independent of any specific scheduling system.
|
org.springframework.scheduling.commonj |
Convenience classes for scheduling based on the CommonJ WorkManager/TimerManager
facility, as supported by IBM WebSphere 6.0+ and BEA WebLogic 9.0+.
|
org.springframework.scheduling.concurrent |
Scheduling convenience classes for the
java.util.concurrent
and javax.enterprise.concurrent packages, allowing to set up a
ThreadPoolExecutor or ScheduledThreadPoolExecutor as a bean in a Spring
context. |
org.springframework.scheduling.quartz |
Support classes for the open source scheduler
Quartz,
allowing to set up Quartz Schedulers, JobDetails and
Triggers as beans in a Spring context.
|
org.springframework.web.context.request.async |
Support for asynchronous request processing.
|
org.springframework.web.servlet.config.annotation |
Annotation-based setup for Spring MVC.
|
org.springframework.web.servlet.mvc.method.annotation |
MVC infrastructure for annotation-based handler method processing, building on the
org.springframework.web.method.annotation package. |
Modifier and Type | Method and Description |
---|---|
protected AsyncTaskExecutor |
AsyncExecutionAspectSupport.determineAsyncExecutor(Method method)
Determine the specific executor to use when executing the given method.
|
Modifier and Type | Method and Description |
---|---|
protected Object |
AsyncExecutionAspectSupport.doSubmit(Callable<Object> task,
AsyncTaskExecutor executor,
Class<?> returnType)
Delegate for actually executing the given task with the chosen executor.
|
Modifier and Type | Interface and Description |
---|---|
interface |
AsyncListenableTaskExecutor
Extension of the
AsyncTaskExecutor interface, adding the capability to submit
tasks for ListenableFutures . |
Modifier and Type | Class and Description |
---|---|
class |
SimpleAsyncTaskExecutor
TaskExecutor implementation that fires up a new Thread for each task,
executing it asynchronously. |
Modifier and Type | Class and Description |
---|---|
class |
TaskExecutorAdapter
Adapter that takes a JDK
java.util.concurrent.Executor and
exposes a Spring TaskExecutor for it. |
Modifier and Type | Method and Description |
---|---|
void |
SimpleTaskWorkManager.setAsyncTaskExecutor(AsyncTaskExecutor asyncTaskExecutor)
Specify the TaskExecutor to use for asynchronous work execution
(i.e.
|
Modifier and Type | Method and Description |
---|---|
SessionFactory |
LocalSessionFactoryBuilder.buildSessionFactory(AsyncTaskExecutor bootstrapExecutor)
Build the Hibernate
SessionFactory through background bootstrapping,
using the given executor for a parallel initialization phase
(e.g. |
void |
LocalSessionFactoryBean.setBootstrapExecutor(AsyncTaskExecutor bootstrapExecutor)
Specify an asynchronous executor for background bootstrapping,
e.g.
|
Modifier and Type | Method and Description |
---|---|
AsyncTaskExecutor |
AbstractEntityManagerFactoryBean.getBootstrapExecutor()
Return the asynchronous executor for background bootstrapping, if any.
|
Modifier and Type | Method and Description |
---|---|
void |
AbstractEntityManagerFactoryBean.setBootstrapExecutor(AsyncTaskExecutor bootstrapExecutor)
Specify an asynchronous executor for background bootstrapping,
e.g.
|
Modifier and Type | Interface and Description |
---|---|
interface |
SchedulingTaskExecutor
A
TaskExecutor extension exposing
scheduling characteristics that are relevant to potential task submitters. |
Modifier and Type | Class and Description |
---|---|
class |
WorkManagerTaskExecutor
Deprecated.
as of 5.1, in favor of the EE 7/8 based
DefaultManagedTaskExecutor |
Modifier and Type | Class and Description |
---|---|
class |
ConcurrentTaskExecutor
Adapter that takes a
java.util.concurrent.Executor and exposes
a Spring TaskExecutor for it. |
class |
ConcurrentTaskScheduler
Adapter that takes a
java.util.concurrent.ScheduledExecutorService and
exposes a Spring TaskScheduler for it. |
class |
DefaultManagedTaskExecutor
JNDI-based variant of
ConcurrentTaskExecutor , performing a default lookup for
JSR-236's "java:comp/DefaultManagedExecutorService" in a Java EE 7/8 environment. |
class |
DefaultManagedTaskScheduler
JNDI-based variant of
ConcurrentTaskScheduler , performing a default lookup for
JSR-236's "java:comp/DefaultManagedScheduledExecutorService" in a Java EE 7 environment. |
class |
ThreadPoolTaskExecutor
JavaBean that allows for configuring a
ThreadPoolExecutor
in bean style (through its "corePoolSize", "maxPoolSize", "keepAliveSeconds", "queueCapacity"
properties) and exposing it as a Spring TaskExecutor . |
class |
ThreadPoolTaskScheduler
Implementation of Spring's
TaskScheduler interface, wrapping
a native ScheduledThreadPoolExecutor . |
Modifier and Type | Class and Description |
---|---|
class |
SimpleThreadPoolTaskExecutor
Subclass of Quartz's SimpleThreadPool that implements Spring's
TaskExecutor interface
and listens to Spring lifecycle callbacks. |
Modifier and Type | Method and Description |
---|---|
AsyncTaskExecutor |
WebAsyncTask.getExecutor()
Return the AsyncTaskExecutor to use for concurrent handling,
or
null if none specified. |
Modifier and Type | Method and Description |
---|---|
void |
WebAsyncManager.setTaskExecutor(AsyncTaskExecutor taskExecutor)
Configure an AsyncTaskExecutor for use with concurrent processing via
WebAsyncManager.startCallableProcessing(Callable, Object...) . |
Constructor and Description |
---|
WebAsyncTask(Long timeout,
AsyncTaskExecutor executor,
Callable<V> callable)
Create a
WebAsyncTask with a timeout value, an executor instance, and a Callable. |
Modifier and Type | Method and Description |
---|---|
protected AsyncTaskExecutor |
AsyncSupportConfigurer.getTaskExecutor() |
Modifier and Type | Method and Description |
---|---|
AsyncSupportConfigurer |
AsyncSupportConfigurer.setTaskExecutor(AsyncTaskExecutor taskExecutor)
The provided task executor is used to:
Handle
Callable controller method return values. |
Modifier and Type | Method and Description |
---|---|
void |
RequestMappingHandlerAdapter.setTaskExecutor(AsyncTaskExecutor taskExecutor)
Set the default
AsyncTaskExecutor to use when a controller method
return a Callable . |