|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.quartz.commonj.WorkManagerThreadExecutor
public class WorkManagerThreadExecutor
CommonJ WorkManager implementation of hacked Quartz ThreadExecutor class. This class schedules work on a WorkManager which is looked up in JNDI. The advantage is that all the work performed is done on a managed thread which is required by WebSphere, see QUARTZ-743 for details.
| Constructor Summary | |
|---|---|
WorkManagerThreadExecutor()
|
|
| Method Summary | |
|---|---|
void |
execute(Thread thread)
Submit a task for execution |
void |
initialize()
Initialize any state prior to calling ThreadExecutor.execute(Thread) |
void |
setWorkManagerName(String workManagerName)
Sets the JNDI name of the work manager to use. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WorkManagerThreadExecutor()
| Method Detail |
|---|
public void execute(Thread thread)
ThreadExecutor
execute in interface ThreadExecutorthread - the thread to executepublic void initialize()
ThreadExecutorThreadExecutor.execute(Thread)
initialize in interface ThreadExecutorpublic void setWorkManagerName(String workManagerName)
workManagerName - the JNDI name to use to lookup the work manager
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||