|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgov.nasa.pds.registry.resource.ServicesResource
public class ServicesResource
This resource is responsible for managing Service descriptions.
Constructor Summary | |
---|---|
ServicesResource(javax.ws.rs.core.UriInfo uriInfo,
javax.ws.rs.core.Request request,
RegistryService registryService)
|
Method Summary | |
---|---|
javax.ws.rs.core.Response |
deleteService(String guid)
Deletes the service from the registry. |
Service |
getService(String guid)
Retrieves the service with the given identifier. |
protected static URI |
getServiceUri(Service service,
javax.ws.rs.core.UriInfo uriInfo)
|
javax.ws.rs.core.Response |
publishService(Service service)
Publishes a service to the registry. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ServicesResource(javax.ws.rs.core.UriInfo uriInfo, javax.ws.rs.core.Request request, RegistryService registryService)
Method Detail |
---|
public javax.ws.rs.core.Response publishService(Service service)
service
- to publish
public Service getService(String guid)
guid
- globally unique identifier of service
public javax.ws.rs.core.Response deleteService(String guid)
guid
- globally unique identifier of service
protected static URI getServiceUri(Service service, javax.ws.rs.core.UriInfo uriInfo)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |