|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.openmrs.scheduler.TaskFactory
public class TaskFactory
Method Summary | |
---|---|
Task |
createInstance(TaskDefinition taskDefinition)
Creates a new instance of Schedulable used to run tasks. |
static TaskFactory |
getInstance()
Gets an instance of the schedulable factory |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static TaskFactory getInstance()
public Task createInstance(TaskDefinition taskDefinition) throws SchedulerException
TaskThreadedInitializationWrapper
class so that the
Task.initialize(TaskDefinition)
method runs in a new thread.
taskDefinition
-
SchedulerException
|
OpenMRS-1.7.x | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |