com.raritantechnologies.searchApp.dataCollection
Class XMLDispatchFilterListener

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

public class XMLDispatchFilterListener
extends java.lang.Object
implements IGatewayListener, IJobProcess

IGatewayListener that dispatches to delegate listeners using a DispatchFilter.
Developed by Raritan Technologies .

Author:
Ted Sullivan

Constructor Summary
XMLDispatchFilterListener()
           
 
Method Summary
 void dataComplete(java.lang.Object gateway)
          Message sent by ICollectionGateway after the last IResultSet has been submitted for processing.
 void executeJob(RaritanPageContext rpc)
           
 void executeJob(java.lang.String[] args)
           
 void gatewayFailed(java.lang.String message)
           
 java.lang.String getConfigurationXML()
           
 void initialize(org.w3c.dom.Element elem)
          Initializes the object from an XML tag or element.
 void processData(IResultSet dataSet)
          Command to process a set of results generated by an ICollectionGateway implementation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLDispatchFilterListener

public XMLDispatchFilterListener()
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

processData

public void processData(IResultSet dataSet)
Description copied from interface: IGatewayListener
Command to process a set of results generated by an ICollectionGateway implementation.

Specified by:
processData in interface IGatewayListener

dataComplete

public void dataComplete(java.lang.Object gateway)
Description copied from interface: IGatewayListener
Message sent by ICollectionGateway after the last IResultSet has been submitted for processing.

Specified by:
dataComplete in interface IGatewayListener

gatewayFailed

public void gatewayFailed(java.lang.String message)
Specified by:
gatewayFailed in interface IGatewayListener

getConfigurationXML

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