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 1.5 WorkManager facility,
as supported within JCA 1.5 ResourceAdapters.
|
org.springframework.jca.work.glassfish |
Convenience package for obtaining a GlassFish JCA WorkManager for use in
web applications.
|
org.springframework.jca.work.jboss |
Convenience package for obtaining a JBoss JCA WorkManager for use in
web applications.
|
org.springframework.scheduling |
General exceptions for Spring's scheduling support,
independent of any specific scheduling system.
|
org.springframework.scheduling.concurrent |
Scheduling convenience classes for the JDK 1.5+ Executor mechanism
in the
java.util.concurrent package, allowing to set up a
ThreadPoolExecutor or ScheduledThreadPoolExecutor as a bean in a Spring
context. |
org.springframework.scheduling.timer |
Scheduling convenience classes for the JDK Timer,
allowing to set up Timers and ScheduledTimerTasks
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 | 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 | Class and Description |
---|---|
class |
WorkManagerTaskExecutor
TaskExecutor implementation
that delegates to a JCA 1.5 WorkManager, implementing the
WorkManager interface. |
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 | Class and Description |
---|---|
class |
GlassFishWorkManagerTaskExecutor
Spring TaskExecutor adapter for the GlassFish JCA WorkManager.
|
Modifier and Type | Class and Description |
---|---|
class |
JBossWorkManagerTaskExecutor
Spring TaskExecutor adapter for the JBoss JCA WorkManager.
|
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 |
ConcurrentTaskExecutor
Adapter that takes a JDK 1.5
java.util.concurrent.Executor and
exposes a Spring TaskExecutor for it. |
class |
ConcurrentTaskScheduler
Adapter that takes a JDK 1.5
java.util.concurrent.ScheduledExecutorService
and exposes a Spring TaskScheduler for it. |
class |
ThreadPoolTaskExecutor
JavaBean that allows for configuring a JDK 1.5
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 |
TimerTaskExecutor
Deprecated.
as of Spring 3.0, in favor of the
scheduling.concurrent
package which is based on Java 5's java.util.concurrent.ExecutorService |
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)
Set the default
AsyncTaskExecutor to use when a controller method
returns a Callable . |
Modifier and Type | Method and Description |
---|---|
void |
RequestMappingHandlerAdapter.setTaskExecutor(AsyncTaskExecutor taskExecutor)
Set the default
AsyncTaskExecutor to use when a controller method
return a Callable . |
Copyright © 2015. All rights reserved.