public final class GenericResourceManagerObjectFactory extends Object
Generic object creation facilities for the Resource Manager.
Modifier and Type | Method and Description |
---|---|
static Batchmgr |
getBatchmgrServiceFromFactory(String serviceFactory)
Creates a new Batchmgr implementation from a given String name of the
corresponding
BatchmgrFactory . |
static JobInput |
getJobInputFromClassName(String className)
Constructs a new
JobInput implementation from the given
className . |
static JobInstance |
getJobInstanceFromClassName(String className)
Constructs a new
JobInstance implementation from the given
className . |
static JobQueue |
getJobQueueServiceFromFactory(String serviceFactory)
Creates a new
JobQueue implementation from the given
JobQueueFactory class name. |
static JobRepository |
getJobRepositoryFromServiceFactory(String serviceFactory)
Creates a new
JobRepository implementation from the given
name of the JobRepositoryFactory . |
static LoadCalculator |
getLoadCalculatorFromServiceFactory(String serviceFactory)
Creates a new
LoadCalculator implementation from the given String name of
the ResourceMonitorFactory . |
static Monitor |
getMonitorServiceFromFactory(String serviceFactory)
Creates a new
Monitor implementation from the given String name of
the MonitorFactory . |
static NodeRepository |
getNodeRepositoryFromFactory(String nodeRepositoryFactory)
Creates a new
NodeRepository implementation from the given
QueueRepositoryFactory class name. |
static QueueRepository |
getQueueRepositoryFromFactory(String queueRepositoryFactory)
Creates a new
QueueRepository implementation from the given
QueueRepositoryFactory class name. |
static Scheduler |
getSchedulerServiceFromFactory(String serviceFactory)
Creates a new
Scheduler from the given String name of the
SchedulerFactory . |
public static JobInput getJobInputFromClassName(String className)
JobInput
implementation from the given
className
.public static JobInstance getJobInstanceFromClassName(String className)
JobInstance
implementation from the given
className
.className
- The name of the implementation class for the JobInstance
to construct.JobInstance
implementation.public static QueueRepository getQueueRepositoryFromFactory(String queueRepositoryFactory)
QueueRepository
implementation from the given
QueueRepositoryFactory
class name.serviceFactory
- The class name of the QueueRepositoryFactory
to use to create new
QueueRepository
s.QueueRepository
.public static NodeRepository getNodeRepositoryFromFactory(String nodeRepositoryFactory)
NodeRepository
implementation from the given
QueueRepositoryFactory
class name.serviceFactory
- The class name of the NodeRepositoryFactory
to use to create new
QueueRepository
s.NodeRepository
.public static JobQueue getJobQueueServiceFromFactory(String serviceFactory)
JobQueue
implementation from the given
JobQueueFactory
class name.serviceFactory
- The class name of the JobQueueFactory
to use to create new
JobQueue
s.JobQueue
.public static Batchmgr getBatchmgrServiceFromFactory(String serviceFactory)
BatchmgrFactory
.serviceFactory
- The name of the BatchmgrFactory
class to use to create
Batchmgr
s.Batchmgr
implementation.public static Monitor getMonitorServiceFromFactory(String serviceFactory)
Monitor
implementation from the given String name of
the MonitorFactory
.serviceFactory
- The name of the MonitorFactory
class to use to create
Monitor
s.Monitor
implementation.public static Scheduler getSchedulerServiceFromFactory(String serviceFactory)
Scheduler
from the given String name of the
SchedulerFactory
.serviceFactory
- The class name of the SchedulerFactory
to use to create
the new Scheduler
.Scheduler
implementation.public static JobRepository getJobRepositoryFromServiceFactory(String serviceFactory)
JobRepository
implementation from the given
name of the JobRepositoryFactory
.serviceFactory
- The class name of the JobRepositoryFactory
to use to create a JobRepository
.JobRepository
from the given service factory.public static LoadCalculator getLoadCalculatorFromServiceFactory(String serviceFactory)
LoadCalculator
implementation from the given String name of
the ResourceMonitorFactory
.serviceFactory
- The name of the LoadCalculatorFactory
class to use to create
LoadCalculator
s.LoadCalculator
implementation.Copyright © 1999-2014 Apache OODT. All Rights Reserved.