public class ServiceResourceImpl extends Object implements ServiceResource
| Constructor and Description |
|---|
ServiceResourceImpl(LocalServicesManager servicesManager) |
| Modifier and Type | Method and Description |
|---|---|
void |
configureManager(InputStream configXml) |
int |
deployService(int serviceId,
String serviceHost,
InputStream serviceXml) |
String |
getAvailableServices() |
String |
getDeployedService(int serviceId,
int deploymentId) |
String |
getDeployedServiceProps(int serviceId,
int deploymentId) |
String |
getDeployedServices() |
String |
getService(int serviceId) |
boolean |
isConfigured() |
void |
undeployService(int serviceId,
int deploymentId) |
void |
updateServiceConfig(int serviceId,
int deploymentId,
InputStream serviceXml) |
public ServiceResourceImpl(LocalServicesManager servicesManager)
public void configureManager(InputStream configXml)
configureManager in interface ServiceResourcepublic boolean isConfigured()
isConfigured in interface ServiceResourcepublic String getDeployedServices()
getDeployedServices in interface ServiceResourcepublic String getAvailableServices()
getAvailableServices in interface ServiceResourcepublic String getService(int serviceId) throws NotFoundException
getService in interface ServiceResourceNotFoundExceptionpublic String getDeployedService(int serviceId, int deploymentId) throws NotFoundException
getDeployedService in interface ServiceResourceNotFoundExceptionpublic String getDeployedServiceProps(int serviceId, int deploymentId) throws NotFoundException
getDeployedServiceProps in interface ServiceResourceNotFoundExceptionpublic int deployService(int serviceId,
String serviceHost,
InputStream serviceXml)
throws NotFoundException,
ServicesException
deployService in interface ServiceResourceNotFoundExceptionServicesExceptionpublic void updateServiceConfig(int serviceId,
int deploymentId,
InputStream serviceXml)
throws NotFoundException,
ServicesException
updateServiceConfig in interface ServiceResourceNotFoundExceptionServicesExceptionpublic void undeployService(int serviceId,
int deploymentId)
throws NotFoundException,
ServicesException
undeployService in interface ServiceResourceNotFoundExceptionServicesExceptionCopyright © 2009-2013 DuraSpace. All Rights Reserved.