Package org.jbpm.services.ejb.timer
Class EJBTimerScheduler
- java.lang.Object
-
- org.jbpm.services.ejb.timer.EJBTimerScheduler
-
public class EJBTimerScheduler extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected javax.ejb.TimerService
timerService
protected UserTransaction
utx
-
Constructor Summary
Constructors Constructor Description EJBTimerScheduler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
executeTimerJob(javax.ejb.Timer timer)
org.drools.core.time.impl.TimerJobInstance
getTimerByName(String jobName)
void
internalSchedule(org.drools.core.time.impl.TimerJobInstance timerJobInstance)
boolean
removeJob(org.drools.core.time.JobHandle jobHandle)
void
setup()
-
-
-
Field Detail
-
timerService
protected javax.ejb.TimerService timerService
-
utx
protected UserTransaction utx
-
-
Method Detail
-
setup
@PostConstruct public void setup()
-
executeTimerJob
public void executeTimerJob(javax.ejb.Timer timer)
-
internalSchedule
public void internalSchedule(org.drools.core.time.impl.TimerJobInstance timerJobInstance)
-
removeJob
public boolean removeJob(org.drools.core.time.JobHandle jobHandle)
-
getTimerByName
public org.drools.core.time.impl.TimerJobInstance getTimerByName(String jobName)
-
-