public class DefaultTimerJobFactoryManager extends Object implements TimerJobFactoryManager
Modifier and Type | Field and Description |
---|---|
static DefaultTimerJobFactoryManager |
instance |
Constructor and Description |
---|
DefaultTimerJobFactoryManager() |
Modifier and Type | Method and Description |
---|---|
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) |
public static final DefaultTimerJobFactoryManager instance
public TimerJobInstance createTimerJobInstance(Job job, JobContext ctx, Trigger trigger, JobHandle handle, InternalSchedulerService scheduler)
createTimerJobInstance
in interface TimerJobFactoryManager
public Collection<TimerJobInstance> getTimerJobInstances()
getTimerJobInstances
in interface TimerJobFactoryManager
public void addTimerJobInstance(TimerJobInstance instance)
addTimerJobInstance
in interface TimerJobFactoryManager
public void removeTimerJobInstance(TimerJobInstance instance)
removeTimerJobInstance
in interface TimerJobFactoryManager
public void setCommandService(CommandService commandService)
setCommandService
in interface TimerJobFactoryManager
public CommandService getCommandService()
getCommandService
in interface TimerJobFactoryManager
Copyright © 2001-2015 JBoss by Red Hat. All Rights Reserved.