Class IndexRequestServerFactory
- java.lang.Object
-
- dk.netarkivet.common.utils.SettingsFactory<IndexRequestServerInterface>
-
- dk.netarkivet.harvester.indexserver.IndexRequestServerFactory
-
public class IndexRequestServerFactory extends SettingsFactory<IndexRequestServerInterface>
-
-
Constructor Summary
Constructors Constructor Description IndexRequestServerFactory()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description 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
-
-
-
-
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.
-
-