public class JobGeneratorFactory extends SettingsFactory<JobGenerator>
JobGenerator
. The implementation class is
defined by the setting HarvesterSettings.JOBGEN_CLASS
(
settings.harvester.scheduler.jobgen.class).Constructor and Description |
---|
JobGeneratorFactory() |
Modifier and Type | Method and Description |
---|---|
static JobGenerator |
getInstance(Object... args)
Returns an instance of the configured
JobGenerator implementation defined by the setting
HarvesterSettings.JOBGEN_CLASS . |
getInstance
public JobGeneratorFactory()
public static JobGenerator getInstance(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 methodJobGenerator
instance.ArgumentNotValid
Copyright © 2005–2015 The Royal Danish Library, the Danish State and University Library, the National Library of France and the Austrian National Library.. All rights reserved.