org.drools.persistence.jpa
Class JpaTimeJobFactoryManager

java.lang.Object
  extended by org.drools.persistence.jpa.JpaTimeJobFactoryManager
All Implemented Interfaces:
TimerJobFactoryManager

public class JpaTimeJobFactoryManager
extends Object
implements TimerJobFactoryManager


Constructor Summary
JpaTimeJobFactoryManager()
           
 
Method Summary
 void addTimerJobInstance(TimerJobInstance instance)
           
 TimerJobInstance createTimerJobInstance(Job job, JobContext ctx, Trigger trigger, JobHandle handle, InternalSchedulerService scheduler)
           
 CommandService getCommandService()
           
 Collection<TimerJobInstance> getTimerJobInstances()
           
 void removeTimerJobInstance(TimerJobInstance instance)
           
 void setCommandService(CommandService commandService)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JpaTimeJobFactoryManager

public JpaTimeJobFactoryManager()
Method Detail

setCommandService

public void setCommandService(CommandService commandService)
Specified by:
setCommandService in interface TimerJobFactoryManager

createTimerJobInstance

public TimerJobInstance createTimerJobInstance(Job job,
                                               JobContext ctx,
                                               Trigger trigger,
                                               JobHandle handle,
                                               InternalSchedulerService scheduler)
Specified by:
createTimerJobInstance in interface TimerJobFactoryManager

addTimerJobInstance

public void addTimerJobInstance(TimerJobInstance instance)
Specified by:
addTimerJobInstance in interface TimerJobFactoryManager

removeTimerJobInstance

public void removeTimerJobInstance(TimerJobInstance instance)
Specified by:
removeTimerJobInstance in interface TimerJobFactoryManager

getTimerJobInstances

public Collection<TimerJobInstance> getTimerJobInstances()
Specified by:
getTimerJobInstances in interface TimerJobFactoryManager

getCommandService

public CommandService getCommandService()
Specified by:
getCommandService in interface TimerJobFactoryManager


Copyright © 2001-2012 JBoss by Red Hat. All Rights Reserved.