@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 RuntimeProvisioningService
BusinessException
public ProviderList getProviders(Integer page, Integer pageSize, String sort, boolean sortOrder) throws BusinessException
getProviders
in interface RuntimeProvisioningService
BusinessException
public RuntimeList getRuntimes(Integer page, Integer pageSize, String sort, boolean sortOrder) throws BusinessException
getRuntimes
in interface RuntimeProvisioningService
BusinessException
public void registerProvider(ProviderConfig conf) throws BusinessException
registerProvider
in interface RuntimeProvisioningService
BusinessException
public void deregisterProvider(String name) throws BusinessException
deregisterProvider
in interface RuntimeProvisioningService
BusinessException
public String newRuntime(RuntimeConfig conf) throws BusinessException
newRuntime
in interface RuntimeProvisioningService
BusinessException
public void destroyRuntime(String runtimeId, boolean forced) throws BusinessException
destroyRuntime
in interface RuntimeProvisioningService
BusinessException
public void startRuntime(String runtimeId) throws BusinessException
startRuntime
in interface RuntimeProvisioningService
BusinessException
public void stopRuntime(String runtimeId) throws BusinessException
stopRuntime
in interface RuntimeProvisioningService
BusinessException
public void restartRuntime(String runtimeId) throws BusinessException
restartRuntime
in interface RuntimeProvisioningService
BusinessException
public RuntimeQueryResultItemList executeQuery(RuntimeQuery query) throws BusinessException
executeQuery
in interface RuntimeProvisioningService
BusinessException
Copyright © 2001–2019 JBoss by Red Hat. All rights reserved.