org.duracloud.duraservice.rest
Class ServiceResourceImpl
java.lang.Object
org.duracloud.duraservice.rest.ServiceResourceImpl
- All Implemented Interfaces:
- ServiceResource
public class ServiceResourceImpl
- extends java.lang.Object
- implements ServiceResource
Provides interaction with content
- Author:
- Bill Branan
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ServiceResourceImpl
public ServiceResourceImpl(LocalServicesManager servicesManager)
configureManager
public void configureManager(java.io.InputStream configXml)
- Specified by:
configureManager
in interface ServiceResource
isConfigured
public boolean isConfigured()
- Specified by:
isConfigured
in interface ServiceResource
getDeployedServices
public java.lang.String getDeployedServices()
- Specified by:
getDeployedServices
in interface ServiceResource
getAvailableServices
public java.lang.String getAvailableServices()
- Specified by:
getAvailableServices
in interface ServiceResource
getService
public java.lang.String getService(int serviceId)
throws NotFoundException
- Specified by:
getService
in interface ServiceResource
- Throws:
NotFoundException
getDeployedService
public java.lang.String getDeployedService(int serviceId,
int deploymentId)
throws NotFoundException
- Specified by:
getDeployedService
in interface ServiceResource
- Throws:
NotFoundException
getDeployedServiceProps
public java.lang.String getDeployedServiceProps(int serviceId,
int deploymentId)
throws NotFoundException
- Specified by:
getDeployedServiceProps
in interface ServiceResource
- Throws:
NotFoundException
deployService
public int deployService(int serviceId,
java.lang.String serviceHost,
java.io.InputStream serviceXml)
throws NotFoundException,
ServicesException
- Specified by:
deployService
in interface ServiceResource
- Throws:
NotFoundException
ServicesException
updateServiceConfig
public void updateServiceConfig(int serviceId,
int deploymentId,
java.io.InputStream serviceXml)
throws NotFoundException,
ServicesException
- Specified by:
updateServiceConfig
in interface ServiceResource
- Throws:
NotFoundException
ServicesException
undeployService
public void undeployService(int serviceId,
int deploymentId)
throws NotFoundException,
ServicesException
- Specified by:
undeployService
in interface ServiceResource
- Throws:
NotFoundException
ServicesException
Copyright © 2009-2011 DuraSpace. All Rights Reserved.