@ApplicationScoped public class RestRuntimeProvisioningServiceImpl extends Object implements RuntimeProvisioningService
| Modifier and Type | Field and Description |
|---|---|
protected static org.slf4j.Logger |
LOG |
| Constructor and Description |
|---|
RestRuntimeProvisioningServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
cacheBeans() |
void |
destroyRuntime(String runtimeId) |
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) |
void |
unregisterProvider(String name) |
@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 unregisterProvider(String name) throws BusinessException
unregisterProvider in interface RuntimeProvisioningServiceBusinessExceptionpublic String newRuntime(RuntimeConfig conf) throws BusinessException
newRuntime in interface RuntimeProvisioningServiceBusinessExceptionpublic void destroyRuntime(String runtimeId) 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 RuntimeProvisioningServiceBusinessExceptionCopyright © 2001–2017 JBoss by Red Hat. All rights reserved.