Package | Description |
---|---|
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.jms.listener |
This package contains the base message listener container facility.
|
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.config |
Support package for declarative scheduling configuration,
with XML schema being the primary configuration format.
|
org.springframework.scheduling.timer |
Scheduling convenience classes for the JDK Timer,
allowing to set up Timers and ScheduledTimerTasks
as beans in a Spring context.
|
Modifier and Type | Interface and Description |
---|---|
interface |
AsyncTaskExecutor
Extended interface for asynchronous
TaskExecutor implementations,
offering an overloaded AsyncTaskExecutor.execute(Runnable, long) variant with a start
timeout parameter as well support for Callable . |
Modifier and Type | Class and Description |
---|---|
class |
SimpleAsyncTaskExecutor
TaskExecutor implementation that fires up a new Thread for each task,
executing it asynchronously. |
class |
SyncTaskExecutor
TaskExecutor implementation that executes each task synchronously
in the calling thread. |
Modifier and Type | Class and Description |
---|---|
class |
TaskExecutorAdapter
Adapter that takes a JDK
java.util.concurrent.Executor and
exposes a Spring TaskExecutor for it. |
Constructor and Description |
---|
ConcurrentExecutorAdapter(TaskExecutor taskExecutor)
Create a new ConcurrentExecutorAdapter for the given Spring TaskExecutor.
|
ExecutorServiceAdapter(TaskExecutor taskExecutor)
Create a new ExecutorServiceAdapter, using the given target executor.
|
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 |
---|---|
protected long |
SimpleTaskWorkManager.executeWork(TaskExecutor taskExecutor,
javax.resource.spi.work.Work work,
long startTimeout,
boolean blockUntilStarted,
javax.resource.spi.work.ExecutionContext executionContext,
javax.resource.spi.work.WorkListener workListener)
Execute the given Work on the specified TaskExecutor.
|
void |
SimpleTaskWorkManager.setSyncTaskExecutor(TaskExecutor syncTaskExecutor)
Specify the TaskExecutor to use for synchronous 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 | Method and Description |
---|---|
protected TaskExecutor |
DefaultMessageListenerContainer.createDefaultTaskExecutor()
Create a default TaskExecutor.
|
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 | Method and Description |
---|---|
TaskExecutor |
TaskExecutorFactoryBean.getObject() |
Modifier and Type | Method and Description |
---|---|
Class<? extends TaskExecutor> |
TaskExecutorFactoryBean.getObjectType() |
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 |
Copyright © 2015. All rights reserved.