dk.netarkivet.harvester.indexserver
Class IndexRequestServerFactory

java.lang.Object
  extended by dk.netarkivet.common.utils.SettingsFactory<IndexRequestServerInterface>
      extended by dk.netarkivet.harvester.indexserver.IndexRequestServerFactory

public class IndexRequestServerFactory
extends SettingsFactory<IndexRequestServerInterface>


Constructor Summary
IndexRequestServerFactory()
           
 
Method Summary
static IndexRequestServerInterface getInstance()
          Returns an instance of the chosen IndexRequestServerInterface implementation defined by the setting settings.archive.indexserver.indexrequestserver.class .
 
Methods inherited from class dk.netarkivet.common.utils.SettingsFactory
getInstance
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IndexRequestServerFactory

public IndexRequestServerFactory()
Method Detail

getInstance

public static IndexRequestServerInterface getInstance()
                                               throws ArgumentNotValid
Returns an instance of the chosen IndexRequestServerInterface implementation defined by the setting settings.archive.indexserver.indexrequestserver.class . This class must have a getInstance method

Returns:
an IndexRequestServerInterface instance.
Throws:
ArgumentNotValid - if the instance cannot be constructed.