com.raritantechnologies.searchApp.dataCollection
Class CollectionBuildProcess

java.lang.Object
  extended bycom.raritantechnologies.searchApp.dataCollection.CollectionBuildProcess
All Implemented Interfaces:
IConfigurable, IJobProcess

public class CollectionBuildProcess
extends java.lang.Object
implements IJobProcess

Job Process that builds a search engine collection or other type of output.

XML Configuration Template
 <JobProcess  processClass="com.raritantechnologies.searchApp.dataCollection.CollectionBuildProcess"
                 collConfigXML="[collBuildXML File]" >

   <!-- if no external configuration XML file is given can supply the CollectionGateway and GatewayOutputProcessor here: -->
   <CollectionGateway class="[ class of com.raritantechnologies.searchApp.dataCollection.ICollectionGateway ]" >

   </CollectionGateway>

   <GatewayOutputProcessor class="[ ]" >

   </GatewayOutputProcessor>

 </JobProcess>
 

Developed by Raritan Technologies .

Author:
Ted Sullivan

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

Constructor Detail

CollectionBuildProcess

public CollectionBuildProcess()

CollectionBuildProcess

public CollectionBuildProcess(ICollectionBuilder collBuilder)

CollectionBuildProcess

public CollectionBuildProcess(java.lang.String collBuildXML)
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

getCollectionBuilder

public ICollectionBuilder getCollectionBuilder()

addJobProcessListener

public void addJobProcessListener(IJobProcessListener jpListener)

getConfigurationXML

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