com.raritantechnologies.searchApp.scheduler
Class RemoteDispatcherJobProcess

java.lang.Object
  extended bycom.raritantechnologies.searchApp.scheduler.RemoteDispatcherJobProcess

public class RemoteDispatcherJobProcess
extends java.lang.Object

A Scheduled JobProcess that makes a WebServices request to another Scheduler, gets a JobProcess XML, converts to a proxy JobProcess and runs it.

XML Configuration Template:
    <JobProcess class="com.raritantechnologies.searchApp.scheduler.RemoteJobDispatcher"
                   removeSchedulerURI="[ SOAP Target URI for remote web service ]"
                   namespaceURI="[ namespace to use for remote web service ]"
                   remoteUser="[ (optional) user name for remote access ]"
                   remotePassword=[ (optional) password for remote access ]" />
 


Field Summary
static java.lang.String JOB
           
static java.lang.String JOB_PROCESS
           
static java.lang.String JOB_PROCESS_CLASS
           
static java.lang.String JOB_SCHEDULE
           
static java.lang.String JOB_SCHEDULE_CLASS
           
static java.lang.String SCHEDULER_JOB_RESPONSE
           
 
Constructor Summary
RemoteDispatcherJobProcess()
           
 
Method Summary
 void executeJob(RaritanPageContext rpc)
           
 void executeJob(java.lang.String[] args)
           
 java.lang.String getConfigurationXML()
           
 void initialize(org.w3c.dom.Element elem)
           
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SCHEDULER_JOB_RESPONSE

public static final java.lang.String SCHEDULER_JOB_RESPONSE
See Also:
Constant Field Values

JOB

public static final java.lang.String JOB
See Also:
Constant Field Values

JOB_SCHEDULE

public static final java.lang.String JOB_SCHEDULE
See Also:
Constant Field Values

JOB_PROCESS

public static final java.lang.String JOB_PROCESS
See Also:
Constant Field Values

JOB_SCHEDULE_CLASS

public static final java.lang.String JOB_SCHEDULE_CLASS
See Also:
Constant Field Values

JOB_PROCESS_CLASS

public static final java.lang.String JOB_PROCESS_CLASS
See Also:
Constant Field Values
Constructor Detail

RemoteDispatcherJobProcess

public RemoteDispatcherJobProcess()
Method Detail

initialize

public void initialize(org.w3c.dom.Element elem)

main

public static void main(java.lang.String[] args)

executeJob

public void executeJob(RaritanPageContext rpc)

executeJob

public void executeJob(java.lang.String[] args)

getConfigurationXML

public java.lang.String getConfigurationXML()