public final class GenericResourceManagerObjectFactory extends Object
Generic object creation facilities for the Resource Manager.
Modifier and Type | Method and Description |
---|---|
static BackendRepository |
getBackendRepositoryFromFactory(String backendRepositoryFactory)
Creates a new
BackendRepository implementation from the given
BackendRepositoryFactory class name. |
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.QueueRepository
.public static BackendRepository getBackendRepositoryFromFactory(String backendRepositoryFactory)
BackendRepository
implementation from the given
BackendRepositoryFactory
class name.backendRepositoryFactory
- The class name of the BackendRepositoryFactory
to use to create new
BackendRepository
s.BackendRepository
.public static NodeRepository getNodeRepositoryFromFactory(String nodeRepositoryFactory)
NodeRepository
implementation from the given
QueueRepositoryFactory
class name.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–2017 Apache OODT. All rights reserved.