public class GlobalJPATimerJobFactoryManager extends Object implements org.drools.core.time.impl.TimerJobFactoryManager
Constructor and Description |
---|
GlobalJPATimerJobFactoryManager() |
Modifier and Type | Method and Description |
---|---|
void |
addTimerJobInstance(org.drools.core.time.impl.TimerJobInstance instance) |
org.drools.core.time.impl.TimerJobInstance |
createTimerJobInstance(org.drools.core.time.Job job,
org.drools.core.time.JobContext ctx,
org.drools.core.time.Trigger trigger,
org.drools.core.time.JobHandle handle,
org.drools.core.time.InternalSchedulerService scheduler) |
org.drools.core.command.CommandService |
getCommandService() |
Collection<org.drools.core.time.impl.TimerJobInstance> |
getTimerJobInstances() |
Collection<org.drools.core.time.impl.TimerJobInstance> |
getTimerJobInstances(Integer sessionId) |
void |
removeTimerJobInstance(org.drools.core.time.impl.TimerJobInstance instance) |
void |
setCommandService(org.drools.core.command.CommandService commandService) |
public void setCommandService(org.drools.core.command.CommandService commandService)
setCommandService
in interface org.drools.core.time.impl.TimerJobFactoryManager
public org.drools.core.time.impl.TimerJobInstance createTimerJobInstance(org.drools.core.time.Job job, org.drools.core.time.JobContext ctx, org.drools.core.time.Trigger trigger, org.drools.core.time.JobHandle handle, org.drools.core.time.InternalSchedulerService scheduler)
createTimerJobInstance
in interface org.drools.core.time.impl.TimerJobFactoryManager
public void addTimerJobInstance(org.drools.core.time.impl.TimerJobInstance instance)
addTimerJobInstance
in interface org.drools.core.time.impl.TimerJobFactoryManager
public void removeTimerJobInstance(org.drools.core.time.impl.TimerJobInstance instance)
removeTimerJobInstance
in interface org.drools.core.time.impl.TimerJobFactoryManager
public Collection<org.drools.core.time.impl.TimerJobInstance> getTimerJobInstances()
getTimerJobInstances
in interface org.drools.core.time.impl.TimerJobFactoryManager
public Collection<org.drools.core.time.impl.TimerJobInstance> getTimerJobInstances(Integer sessionId)
public org.drools.core.command.CommandService getCommandService()
getCommandService
in interface org.drools.core.time.impl.TimerJobFactoryManager
Copyright © 2001-2015 JBoss by Red Hat. All Rights Reserved.