com.raritantechnologies.utils.time
Class TimeDelayProcess

java.lang.Object
  extended bycom.raritantechnologies.utils.time.TimeDelayProcess
All Implemented Interfaces:
IConfigurable, IJobProcess

public class TimeDelayProcess
extends java.lang.Object
implements IJobProcess

JobProcess that introduces a time delay into a Job queue.

XML Configuration Template:
  <JobProcess class="com.raritantechnologies.utils.time.TimeDelayProcess"
                 timeDelay="30 seconds" />
 

Developed by Raritan Technologies .

Author:
Ted Sullivan

Constructor Summary
TimeDelayProcess()
           
 
Method Summary
 void executeJob(RaritanPageContext rpc)
           
 void executeJob(java.lang.String[] args)
           
 java.lang.String getConfigurationXML()
           
 void initialize(org.w3c.dom.Element elem)
          Initializes the object from an XML tag or element.
 void setDelayInterval(java.lang.String perSt)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TimeDelayProcess

public TimeDelayProcess()
Method Detail

initialize

public void initialize(org.w3c.dom.Element elem)
Description copied from interface: IConfigurable
Initializes the object from an XML tag or element. This method is called by the Framework as part of the application initializtion. see ConfigurationManager, XMLConfigurationManager, XMLSearchFieldMapFactory, XMLSearchSourceFactory. Configurable objects that are owned or contained by other configurable objects will be initialized in by the parent object.

Specified by:
initialize in interface IJobProcess

executeJob

public void executeJob(RaritanPageContext rpc)
Specified by:
executeJob in interface IJobProcess

executeJob

public void executeJob(java.lang.String[] args)
Specified by:
executeJob in interface IJobProcess

setDelayInterval

public void setDelayInterval(java.lang.String perSt)

getConfigurationXML

public java.lang.String getConfigurationXML()
Specified by:
getConfigurationXML in interface IJobProcess