| org.jboss.resource.work.JBossWorkManager
JBossWorkManager | public class JBossWorkManager extends ServiceMBeanSupport implements WorkManager,JBossWorkManagerMBean(Code) | | The work manager implementation
author: Adrian Brock version: $Revision: 59886 $ |
cancelWork | protected void cancelWork(WorkWrapper wrapper)(Code) | | Cancel work
Parameters: wrapper - the work wrapper throws: WorkException - for any error |
doWork | public void doWork(Work work, long startTimeout, ExecutionContext ctx, WorkListener listener) throws WorkException(Code) | | |
doWork | public void doWork(Work work) throws WorkException(Code) | | |
endWork | protected void endWork(WorkWrapper wrapper)(Code) | | End work
Parameters: wrapper - the work wrapper throws: WorkException - for any error |
executeWork | protected void executeWork(WorkWrapper wrapper) throws WorkException(Code) | | Execute the work
Parameters: wrapper - the work wrapper throws: WorkException - for any error |
getInstance | public WorkManager getInstance()(Code) | | |
getThreadPool | public ThreadPool getThreadPool()(Code) | | Retrieve the thread pool
the thread pool |
importWork | protected void importWork(WorkWrapper wrapper) throws WorkException(Code) | | Import any work
Parameters: wrapper - the work wrapper throws: WorkException - for any error |
scheduleWork | public void scheduleWork(Work work, long startTimeout, ExecutionContext ctx, WorkListener listener) throws WorkException(Code) | | |
scheduleWork | public void scheduleWork(Work work) throws WorkException(Code) | | |
setThreadPool | public void setThreadPool(ThreadPool threadPool)(Code) | | Set the thread pool
Parameters: threadPool - the thread pool |
setXATerminatorName | public void setXATerminatorName(ObjectName xaTerminatorName)(Code) | | |
startWork | public long startWork(Work work, long startTimeout, ExecutionContext ctx, WorkListener listener) throws WorkException(Code) | | |
startWork | public long startWork(Work work) throws WorkException(Code) | | |
startWork | protected void startWork(WorkWrapper wrapper) throws WorkException(Code) | | Start work
Parameters: wrapper - the work wrapper throws: WorkException - for any error |
|
|