|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jboss.soa.esb.services.jbpm.integration.timer.QuartzSchedulerService
public class QuartzSchedulerService
Implementation of the jBPM scheduler service targeting quartz.
| Nested Class Summary | |
|---|---|
static class |
QuartzSchedulerService.QuartzSchedulerServiceJob
The quartz job associated with executing a jBPM timer. |
| Constructor Summary | |
|---|---|
QuartzSchedulerService(org.jbpm.JbpmContext jbpmContext,
org.quartz.Scheduler scheduler,
int maxRefireCount)
Create the scheduler service. |
|
| Method Summary | |
|---|---|
void |
close()
Close the scheduler service. |
void |
createTimer(org.jbpm.job.Timer timer)
Create a timer. |
void |
deleteTimer(org.jbpm.job.Timer timer)
Delete a specific timer. |
void |
deleteTimersByName(java.lang.String timerName,
org.jbpm.graph.exe.Token token)
Delete a specific timer given a name and associated jBPM token. |
void |
deleteTimersByProcessInstance(org.jbpm.graph.exe.ProcessInstance processInstance)
Delete timers associated with a jBPM process instance. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public QuartzSchedulerService(org.jbpm.JbpmContext jbpmContext,
org.quartz.Scheduler scheduler,
int maxRefireCount)
jbpmContext - The associated jBPM context.scheduler - The quartz scheduler.| Method Detail |
|---|
public void createTimer(org.jbpm.job.Timer timer)
createTimer in interface org.jbpm.scheduler.SchedulerServicetimer - the timer to create.public void deleteTimer(org.jbpm.job.Timer timer)
deleteTimer in interface org.jbpm.scheduler.SchedulerServicetimer - The timer to delete.
public void deleteTimersByName(java.lang.String timerName,
org.jbpm.graph.exe.Token token)
deleteTimersByName in interface org.jbpm.scheduler.SchedulerServicetimerName - The name of the timer to delete.token - The token associated with the timer.public void deleteTimersByProcessInstance(org.jbpm.graph.exe.ProcessInstance processInstance)
deleteTimersByProcessInstance in interface org.jbpm.scheduler.SchedulerServiceprocessInstance - The process instance associated with the timers.public void close()
close in interface org.jbpm.svc.Service
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||