org.openmrs.scheduler.tasks
Class ProcessHL7InQueueTask

java.lang.Object
  extended by org.openmrs.scheduler.tasks.AbstractTask
      extended by org.openmrs.scheduler.tasks.ProcessHL7InQueueTask
All Implemented Interfaces:
Task

public class ProcessHL7InQueueTask
extends AbstractTask

Implementation of a task that process all form entry queues. NOTE: This class does not need to be StatefulTask as we create the context in the constructor.

Version:
1.1 1.1 - made processor static to ensure only one HL7 processor runs

Field Summary
 
Fields inherited from class org.openmrs.scheduler.tasks.AbstractTask
isExecuting, taskDefinition
 
Constructor Summary
ProcessHL7InQueueTask()
          Default Constructor (Uses SchedulerConstants.username and SchedulerConstants.password
 
Method Summary
 void execute()
          Process the next form entry in the database and then remove the form entry from the database.
 
Methods inherited from class org.openmrs.scheduler.tasks.AbstractTask
authenticate, getTaskDefinition, initialize, isExecuting, shutdown, startExecuting, stopExecuting
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProcessHL7InQueueTask

public ProcessHL7InQueueTask()
Default Constructor (Uses SchedulerConstants.username and SchedulerConstants.password

Method Detail

execute

public void execute()
Process the next form entry in the database and then remove the form entry from the database.

Specified by:
execute in interface Task
Specified by:
execute in class AbstractTask
See Also:
Task.execute()

OpenMRS-1.7.x

Generated Apr 27 2012 10:06 PM. NOTE - these libraries are in active development and subject to change