@ApplicationScoped public class RestRuntimeProvisioningServiceImpl extends Object implements RuntimeProvisioningService
| Constructor and Description |
|---|
RestRuntimeProvisioningServiceImpl() |
RestRuntimeProvisioningServiceImpl(javax.enterprise.inject.spi.BeanManager beanManager,
ProviderFactory providerFactory,
RuntimeRegistry runtimeRegistry,
RuntimeFactory runtimeFactory,
RuntimeManagerFactory runtimeManagerFactory,
PipelineExecutorRegistry pipelineExecutorRegistry) |
| Modifier and Type | Method and Description |
|---|---|
void |
cacheBeans() |
void |
deregisterProvider(String name) |
void |
destroyRuntime(String runtimeId,
boolean forced) |
RuntimeQueryResultItemList |
executeQuery(RuntimeQuery query) |
ProviderList |
getProviders(Integer page,
Integer pageSize,
String sort,
boolean sortOrder) |
ProviderTypeList |
getProviderTypes(Integer page,
Integer pageSize,
String sort,
boolean sortOrder) |
RuntimeList |
getRuntimes(Integer page,
Integer pageSize,
String sort,
boolean sortOrder) |
String |
newRuntime(RuntimeConfig conf) |
void |
registerProvider(ProviderConfig conf) |
void |
restartRuntime(String runtimeId) |
void |
startRuntime(String runtimeId) |
void |
stopRuntime(String runtimeId) |
public RestRuntimeProvisioningServiceImpl()
@Inject
public RestRuntimeProvisioningServiceImpl(javax.enterprise.inject.spi.BeanManager beanManager,
ProviderFactory providerFactory,
RuntimeRegistry runtimeRegistry,
RuntimeFactory runtimeFactory,
RuntimeManagerFactory runtimeManagerFactory,
PipelineExecutorRegistry pipelineExecutorRegistry)
@PostConstruct public void cacheBeans()
public ProviderTypeList getProviderTypes(Integer page, Integer pageSize, String sort, boolean sortOrder) throws BusinessException
getProviderTypes in interface RuntimeProvisioningServiceBusinessExceptionpublic ProviderList getProviders(Integer page, Integer pageSize, String sort, boolean sortOrder) throws BusinessException
getProviders in interface RuntimeProvisioningServiceBusinessExceptionpublic RuntimeList getRuntimes(Integer page, Integer pageSize, String sort, boolean sortOrder) throws BusinessException
getRuntimes in interface RuntimeProvisioningServiceBusinessExceptionpublic void registerProvider(ProviderConfig conf) throws BusinessException
registerProvider in interface RuntimeProvisioningServiceBusinessExceptionpublic void deregisterProvider(String name) throws BusinessException
deregisterProvider in interface RuntimeProvisioningServiceBusinessExceptionpublic String newRuntime(RuntimeConfig conf) throws BusinessException
newRuntime in interface RuntimeProvisioningServiceBusinessExceptionpublic void destroyRuntime(String runtimeId, boolean forced) throws BusinessException
destroyRuntime in interface RuntimeProvisioningServiceBusinessExceptionpublic void startRuntime(String runtimeId) throws BusinessException
startRuntime in interface RuntimeProvisioningServiceBusinessExceptionpublic void stopRuntime(String runtimeId) throws BusinessException
stopRuntime in interface RuntimeProvisioningServiceBusinessExceptionpublic void restartRuntime(String runtimeId) throws BusinessException
restartRuntime in interface RuntimeProvisioningServiceBusinessExceptionpublic RuntimeQueryResultItemList executeQuery(RuntimeQuery query) throws BusinessException
executeQuery in interface RuntimeProvisioningServiceBusinessExceptionCopyright © 2001–2017 JBoss by Red Hat. All rights reserved.