com.raritantechnologies.federated.z3950
Class RaritanZ3950Worker

java.lang.Object
  extended byWorker
      extended bycom.raritantechnologies.federated.RaritanWorker
          extended bycom.raritantechnologies.federated.z3950.RaritanZ3950Worker

public class RaritanZ3950Worker
extends RaritanWorker

Handles all Z3950Worker work. This is the only class that is dependent on the Verity RaritanWorker. Ensures that Z3950QueryProcessor is correctly coupled with a Z3950SearchSource.


Developed by Raritan Technologies Inc..

Author:
Glenn Robitaille
See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.raritantechnologies.federated.RaritanWorker
theQueryProcessor, theSearchSource
 
Constructor Summary
RaritanZ3950Worker()
           
 
Method Summary
protected  SearchSource getSearchSource(ISearchFieldMap sfMap, java.lang.String sourceName)
          returns an Z3950SearchSource.
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

RaritanZ3950Worker

public RaritanZ3950Worker()
Method Detail

getSearchSource

protected SearchSource getSearchSource(ISearchFieldMap sfMap,
                                       java.lang.String sourceName)
returns an Z3950SearchSource. 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