public class GlassFishWorkManagerTaskExecutor extends WorkManagerTaskExecutor
This is the GlassFish equivalent of the CommonJ
org.springframework.scheduling.commonj.WorkManagerTaskExecutor
adapter for WebLogic and WebSphere.
TIMEOUT_IMMEDIATE, TIMEOUT_INDEFINITE
IMMEDIATE, INDEFINITE, UNKNOWN
Constructor and Description |
---|
GlassFishWorkManagerTaskExecutor() |
Modifier and Type | Method and Description |
---|---|
protected WorkManager |
getDefaultWorkManager()
Obtains GlassFish's default thread pool.
|
void |
setThreadPoolName(String threadPoolName)
Identify a specific GlassFish thread pool to talk to.
|
afterPropertiesSet, doWork, doWork, execute, execute, prefersShortLivedTasks, scheduleWork, scheduleWork, setBlockUntilCompleted, setBlockUntilStarted, setBootstrapContext, setWorkListener, setWorkManager, setWorkManagerName, startWork, startWork, submit, submit
convertJndiName, isResourceRef, lookup, lookup, setResourceRef
public void setThreadPoolName(String threadPoolName)
The thread pool name matches the resource adapter name in default RAR deployment scenarios.
protected WorkManager getDefaultWorkManager()
getDefaultWorkManager
in class WorkManagerTaskExecutor