org.drools.time.impl
Class DefaultTimerJobFactoryManager

java.lang.Object
  extended by org.drools.time.impl.DefaultTimerJobFactoryManager
All Implemented Interfaces:
TimerJobFactoryManager

public class DefaultTimerJobFactoryManager
extends Object
implements TimerJobFactoryManager


Field Summary
static DefaultTimerJobFactoryManager instance
           
 
Constructor Summary
DefaultTimerJobFactoryManager()
           
 
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
 

Field Detail

instance

public static final DefaultTimerJobFactoryManager instance
Constructor Detail

DefaultTimerJobFactoryManager

public DefaultTimerJobFactoryManager()
Method Detail

createTimerJobInstance

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

getTimerJobInstances

public Collection<TimerJobInstance> getTimerJobInstances()
Specified by:
getTimerJobInstances 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

setCommandService

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

getCommandService

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


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