|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectdk.netarkivet.common.utils.SettingsFactory<JobGenerator>
dk.netarkivet.harvester.scheduler.jobgen.JobGeneratorFactory
public class JobGeneratorFactory
Factory class for instantiating a specific implementation
of JobGenerator
. The implementation class is defined
by the setting HarvesterSettings.JOBGEN_CLASS
(settings.harvester.scheduler.jobgen.class).
Constructor Summary | |
---|---|
JobGeneratorFactory()
|
Method Summary | |
---|---|
static JobGenerator |
getInstance(java.lang.Object... args)
Returns an instance of the configured JobGenerator
implementation defined by the setting HarvesterSettings.JOBGEN_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 |
---|
public JobGeneratorFactory()
Method Detail |
---|
public static JobGenerator getInstance(java.lang.Object... args) throws ArgumentNotValid
JobGenerator
implementation defined by the setting HarvesterSettings.JOBGEN_CLASS
.
This class must have a constructor or factory method with a
signature matching the array args.
args
- the arguments to the constructor or factory method
JobGenerator
instance.
ArgumentNotValid
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |