public interface ServicesManager extends Securable
| Modifier and Type | Method and Description |
|---|---|
int |
deployService(int serviceId,
String serviceHost,
String userConfigVersion,
List<UserConfigModeSet> userConfigModeSets)
Deploys a service.
|
List<ServiceInfo> |
getAvailableServices()
Provides a listing of available services, that is, services which
can be deployed.
|
ServiceInfo |
getDeployedService(int serviceId,
int deploymentId)
Gets a deployed service.
|
Map<String,String> |
getDeployedServiceProps(int serviceId,
int deploymentId)
Gets runtime properties for a deployed service.
|
List<ServiceInfo> |
getDeployedServices()
Provides a listing of all deployed services.
|
ServiceInfo |
getService(int serviceId)
Gets a service.
|
void |
undeployService(int serviceId,
int deploymentId)
UnDeploys a service.
|
void |
updateServiceConfig(int serviceId,
int deploymentId,
String userConfigVersion,
List<UserConfigModeSet> userConfigModeSets)
Updates the configuration of a deployed service.
|
List<ServiceInfo> getAvailableServices() throws ServicesException
ServicesException - if available services cannot be retrievedList<ServiceInfo> getDeployedServices() throws ServicesException
ServicesException - if deployed services cannot be retrievedServiceInfo getService(int serviceId) throws NotFoundException, ServicesException
serviceId - the ID of the service to retrieveNotFoundException - if the service cannot be foundServicesException - if the service cannot be retrievedServiceInfo getDeployedService(int serviceId, int deploymentId) throws NotFoundException, ServicesException
serviceId - the ID of the service to retrievedeploymentId - the ID of the service deployment to retrieveNotFoundException - if either the service or deployment cannot be foundServicesException - if the service cannot be retrievedMap<String,String> getDeployedServiceProps(int serviceId, int deploymentId) throws NotFoundException, ServicesException
serviceId - the ID of the service to retrievedeploymentId - the ID of the service deployment to retrieveNotFoundException - if either the service or deployment cannot be foundServicesException - if the service properties cannot be retrievedint deployService(int serviceId,
String serviceHost,
String userConfigVersion,
List<UserConfigModeSet> userConfigModeSets)
throws NotFoundException,
ServicesException
serviceId - the ID of the service to deployuserConfigVersion - the version of the user configurationuserConfigModeSets - a list of user configuration optionsserviceHost - the selected deployment optionNotFoundException - if the service cannot be foundServicesException - if the service cannot be deployedvoid updateServiceConfig(int serviceId,
int deploymentId,
String userConfigVersion,
List<UserConfigModeSet> userConfigModeSets)
throws NotFoundException,
ServicesException
serviceId - the ID of the service to updatedeploymentId - the ID of the service deployment to updateuserConfigVersion - the version of the user configurationuserConfigModeSets - updated user configuration optionsNotFoundException - if either the service or deployment cannot be foundServicesException - if the service configuration cannot be updatedvoid undeployService(int serviceId,
int deploymentId)
throws NotFoundException,
ServicesException
serviceId - the ID of the service to undeploydeploymentId - the ID of the service deployment to undeployNotFoundException - if either the service or deployment cannot be foundServicesException - if the service cannot be undeployedCopyright © 2009-2013 DuraSpace. All Rights Reserved.