|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Scheduler
The BPEL scheduler.
| Nested Class Summary | |
|---|---|
static class |
Scheduler.JobInfo
Wrapper containing information about a scheduled job. |
static interface |
Scheduler.JobProcessor
Interface implemented by the object responsible for job execution. |
static class |
Scheduler.JobProcessorException
Exception thrown by the Scheduler.JobProcessor to indicate failure in job
processing. |
| Method Summary | |
|---|---|
void |
cancelJob(java.lang.String jobId)
Make a good effort to cancel the job. |
void |
jobCompleted(java.lang.String jobId)
|
java.lang.String |
schedulePersistedJob(java.util.Map<java.lang.String,java.lang.Object> jobDetail,
java.util.Date when)
Schedule a persisted job. |
void |
setJobProcessor(Scheduler.JobProcessor processor)
|
void |
shutdown()
|
void |
start()
|
void |
stop()
|
| Method Detail |
|---|
void setJobProcessor(Scheduler.JobProcessor processor)
throws ContextException
ContextException
java.lang.String schedulePersistedJob(java.util.Map<java.lang.String,java.lang.Object> jobDetail,
java.util.Date when)
throws ContextException
jobDetail - information about the jobwhen - when the job should run (null means now)
ContextExceptionvoid jobCompleted(java.lang.String jobId)
void cancelJob(java.lang.String jobId)
throws ContextException
jobId - job identifier of the job
ContextExceptionvoid start()
void stop()
void shutdown()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||