public class TransactionAwareSchedulerServiceInterceptor
extends org.jbpm.process.core.timer.impl.DelegateSchedulerServiceInterceptor
GlobalSchedulerService
that are by nature
transactional e.g. Quartz with Data Base job store.Constructor and Description |
---|
TransactionAwareSchedulerServiceInterceptor(org.kie.api.runtime.manager.RuntimeEnvironment environment,
org.kie.api.runtime.manager.RuntimeManager manager,
org.jbpm.process.core.timer.GlobalSchedulerService schedulerService) |
Modifier and Type | Method and Description |
---|---|
protected org.kie.api.runtime.Environment |
getEnvironment(org.drools.core.time.JobContext jobContext) |
protected Long |
getProcessInstancId(org.drools.core.time.JobContext jobContext) |
protected org.drools.persistence.TransactionManager |
getTransactionManager(org.drools.core.time.JobContext jobContext) |
protected boolean |
hasEnvironmentEntry(String name,
Object value) |
void |
internalSchedule(org.drools.core.time.impl.TimerJobInstance timerJobInstance) |
public TransactionAwareSchedulerServiceInterceptor(org.kie.api.runtime.manager.RuntimeEnvironment environment, org.kie.api.runtime.manager.RuntimeManager manager, org.jbpm.process.core.timer.GlobalSchedulerService schedulerService)
public final void internalSchedule(org.drools.core.time.impl.TimerJobInstance timerJobInstance)
internalSchedule
in interface org.jbpm.process.core.timer.SchedulerServiceInterceptor
internalSchedule
in class org.jbpm.process.core.timer.impl.DelegateSchedulerServiceInterceptor
protected org.drools.persistence.TransactionManager getTransactionManager(org.drools.core.time.JobContext jobContext)
protected org.kie.api.runtime.Environment getEnvironment(org.drools.core.time.JobContext jobContext)
protected Long getProcessInstancId(org.drools.core.time.JobContext jobContext)
Copyright © 2001-2015 JBoss by Red Hat. All Rights Reserved.