com.raritantechnologies.federated.verity
Class RaritanVerityWorker

java.lang.Object
  extended byWorker
      extended bycom.raritantechnologies.federated.RaritanWorker
          extended bycom.raritantechnologies.federated.verity.RaritanVerityWorker

public class RaritanVerityWorker
extends RaritanWorker

Handles all VerityWorker work. This is the only class that is dependent on the Verity RaritanWorker. Ensures that VerityQueryProcessor is correctly coupled with an VeritySearchSource.


Developed by Raritan Technologies Inc..

Author:
Ted Sullivan
See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.raritantechnologies.federated.RaritanWorker
theQueryProcessor, theSearchSource
 
Constructor Summary
RaritanVerityWorker()
           
 
Method Summary
protected  SearchSource getSearchSource(ISearchFieldMap sfMap, java.lang.String sourceName)
          returns a VeritySearchSource.
protected  IXMLSearchSourceFactory getSearchSourceFactory()
           
 
Methods inherited from class com.raritantechnologies.federated.RaritanWorker
doSetCookie, handleRequest, handleTargetedRequest, init, setCookie
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RaritanVerityWorker

public RaritanVerityWorker()
Method Detail

getSearchSource

protected SearchSource getSearchSource(ISearchFieldMap sfMap,
                                       java.lang.String sourceName)
returns a VeritySearchSource. This protected method is needed because the superclass (RaritanWorker) knows the name of the source from the configuration XML but it doesn't know what TYPE of source to create.

Specified by:
getSearchSource in class RaritanWorker

getSearchSourceFactory

protected IXMLSearchSourceFactory getSearchSourceFactory()
Specified by:
getSearchSourceFactory in class RaritanWorker