@Deprecated public class JBossWorkManagerTaskExecutor extends WorkManagerTaskExecutor
This is the JBoss equivalent of the CommonJ
WorkManagerTaskExecutor
adapter for WebLogic and WebSphere.
This class does not work on JBoss 7 or higher. There is no known
immediate replacement, since JBoss does not want its JCA WorkManager
to be exposed anymore. As of JBoss/WildFly 8, a
DefaultManagedTaskExecutor
may be used, following JSR-236 support in Java EE 7.
JBossWorkManagerMBean
CONTAINER_PREFIX
logger
TIMEOUT_IMMEDIATE, TIMEOUT_INDEFINITE
IMMEDIATE, INDEFINITE, UNKNOWN
Constructor and Description |
---|
JBossWorkManagerTaskExecutor()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected WorkManager |
getDefaultWorkManager()
Deprecated.
Obtains the default JBoss JCA WorkManager through a JMX lookup
for the JBossWorkManagerMBean.
|
void |
setWorkManagerMBeanName(String mbeanName)
Deprecated.
Identify a specific JBossWorkManagerMBean to talk to,
through its JMX object name.
|
afterPropertiesSet, doWork, doWork, execute, execute, prefersShortLivedTasks, scheduleWork, scheduleWork, setBlockUntilCompleted, setBlockUntilStarted, setBootstrapContext, setTaskDecorator, setWorkListener, setWorkManager, setWorkManagerName, startWork, startWork, submit, submit, submitListenable, submitListenable
convertJndiName, isResourceRef, lookup, lookup, setResourceRef
getJndiEnvironment, getJndiTemplate, setJndiEnvironment, setJndiTemplate
public void setWorkManagerMBeanName(String mbeanName)
The default MBean name is "jboss.jca:service=WorkManager".
protected WorkManager getDefaultWorkManager()
getDefaultWorkManager
in class WorkManagerTaskExecutor
JBossWorkManagerUtils.getWorkManager()