Package com.dtolabs.rundeck.core.common
Class ServiceSupport
- java.lang.Object
-
- com.dtolabs.rundeck.core.common.ServiceSupport
-
- All Implemented Interfaces:
IExecutionProviders
,IExecutionServices
,IFrameworkServices
,IServicesRegistration
public class ServiceSupport extends java.lang.Object implements IFrameworkServices
Created by greg on 2/20/15.
-
-
Constructor Summary
Constructors Constructor Description ServiceSupport()
-
Method Summary
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.dtolabs.rundeck.core.common.IFrameworkServices
getExecutionService
-
-
-
-
Method Detail
-
initialize
public void initialize(Framework framework)
Initialize children, the various resource management objects- Specified by:
initialize
in interfaceIFrameworkServices
-
getService
public FrameworkSupportService getService(java.lang.String name)
- Specified by:
getService
in interfaceIServicesRegistration
- Parameters:
name
- service name- Returns:
- a service by name
-
setService
public void setService(java.lang.String name, FrameworkSupportService service)
Set a service by name- Specified by:
setService
in interfaceIServicesRegistration
- Parameters:
name
- nameservice
- service
-
overrideService
public void overrideService(java.lang.String name, FrameworkSupportService service)
Description copied from interface:IServicesRegistration
Override existing registration- Specified by:
overrideService
in interfaceIServicesRegistration
- Parameters:
name
- nameservice
- service
-
getOrchestratorService
public OrchestratorService getOrchestratorService()
- Specified by:
getOrchestratorService
in interfaceIExecutionServices
-
getWorkflowExecutionService
public WorkflowExecutionService getWorkflowExecutionService()
- Specified by:
getWorkflowExecutionService
in interfaceIExecutionServices
-
getWorkflowStrategyService
public WorkflowStrategyService getWorkflowStrategyService()
- Specified by:
getWorkflowStrategyService
in interfaceIExecutionServices
-
getStepExecutionService
public StepExecutionService getStepExecutionService()
- Specified by:
getStepExecutionService
in interfaceIExecutionServices
-
getStepExecutorForItem
public StepExecutor getStepExecutorForItem(StepExecutionItem item, java.lang.String project) throws ExecutionServiceException
Description copied from interface:IExecutionProviders
provide step executor for the item and the project- Specified by:
getStepExecutorForItem
in interfaceIExecutionProviders
- Returns:
- Throws:
ExecutionServiceException
-
getFileCopierForNodeAndProject
public FileCopier getFileCopierForNodeAndProject(INodeEntry node, ExecutionContext context) throws ExecutionServiceException
Description copied from interface:IExecutionProviders
provide file copier for the node and project- Specified by:
getFileCopierForNodeAndProject
in interfaceIExecutionProviders
- Returns:
- Throws:
ExecutionServiceException
-
getFileCopierService
public FileCopierService getFileCopierService()
- Specified by:
getFileCopierService
in interfaceIExecutionServices
-
getNodeExecutorForNodeAndProject
public NodeExecutor getNodeExecutorForNodeAndProject(INodeEntry node, ExecutionContext context) throws ExecutionServiceException
Description copied from interface:IExecutionProviders
provide node executor for the node and project- Specified by:
getNodeExecutorForNodeAndProject
in interfaceIExecutionProviders
- Returns:
- Throws:
ExecutionServiceException
-
getNodeExecutorService
public NodeExecutorService getNodeExecutorService()
- Specified by:
getNodeExecutorService
in interfaceIExecutionServices
-
getNodeStepExecutorService
public NodeStepExecutionService getNodeStepExecutorService()
- Specified by:
getNodeStepExecutorService
in interfaceIExecutionServices
-
getNodeStepExecutorForItem
public NodeStepExecutor getNodeStepExecutorForItem(NodeStepExecutionItem item, ExecutionContext context, INodeEntry node) throws ExecutionServiceException
Description copied from interface:IExecutionProviders
provide node step executor for item and project- Specified by:
getNodeStepExecutorForItem
in interfaceIExecutionProviders
- Returns:
- Throws:
ExecutionServiceException
-
getNodeDispatcherForContext
public NodeDispatcher getNodeDispatcherForContext(ExecutionContext context) throws ExecutionServiceException
Description copied from interface:IExecutionProviders
provide node dispatcher for context- Specified by:
getNodeDispatcherForContext
in interfaceIExecutionProviders
- Returns:
- Throws:
ExecutionServiceException
-
getNodeDispatcherService
public NodeDispatcherService getNodeDispatcherService()
- Specified by:
getNodeDispatcherService
in interfaceIExecutionServices
-
getResourceModelSourceService
public ResourceModelSourceService getResourceModelSourceService()
- Specified by:
getResourceModelSourceService
in interfaceIExecutionServices
-
getResourceFormatParserService
public ResourceFormatParserService getResourceFormatParserService()
- Specified by:
getResourceFormatParserService
in interfaceIExecutionServices
-
getResourceFormatGeneratorService
public ResourceFormatGeneratorService getResourceFormatGeneratorService()
- Specified by:
getResourceFormatGeneratorService
in interfaceIExecutionServices
-
getPluginManager
public ServiceProviderLoader getPluginManager()
- Specified by:
getPluginManager
in interfaceIFrameworkServices
-
-