|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecteu.emi.dsr.resource.ServiceAdminResource
public class ServiceAdminResource
Resource for the service providers (privileged) to manage their services
| Constructor Summary | |
|---|---|
ServiceAdminResource()
|
|
| Method Summary | |
|---|---|
javax.ws.rs.core.Response |
deleteService(javax.ws.rs.core.UriInfo infos)
Deleting the service description |
org.codehaus.jettison.json.JSONObject |
getServicebyUrl(javax.ws.rs.core.UriInfo infos)
|
protected String |
getUserPrincipalName()
|
javax.ws.rs.core.Response |
registerService(org.codehaus.jettison.json.JSONObject serviceInfo)
adding only one entry |
javax.ws.rs.core.Response |
registerServices(org.codehaus.jettison.json.JSONArray serviceInfos)
adding an array of json documents, where each item in the array is service endpoint information |
javax.ws.rs.core.Response |
updateService(org.codehaus.jettison.json.JSONObject serviceInfo)
updating only one entry |
javax.ws.rs.core.Response |
updateServices(org.codehaus.jettison.json.JSONArray serviceInfos)
updating array of entries |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ServiceAdminResource()
| Method Detail |
|---|
protected String getUserPrincipalName()
public org.codehaus.jettison.json.JSONObject getServicebyUrl(@Context
javax.ws.rs.core.UriInfo infos)
throws javax.ws.rs.WebApplicationException,
org.codehaus.jettison.json.JSONException
javax.ws.rs.WebApplicationException
org.codehaus.jettison.json.JSONException
public javax.ws.rs.core.Response registerService(org.codehaus.jettison.json.JSONObject serviceInfo)
throws javax.ws.rs.WebApplicationException,
org.codehaus.jettison.json.JSONException
org.codehaus.jettison.json.JSONException
javax.ws.rs.WebApplicationException
public javax.ws.rs.core.Response registerServices(org.codehaus.jettison.json.JSONArray serviceInfos)
throws javax.ws.rs.WebApplicationException,
InterruptedException,
org.codehaus.jettison.json.JSONException
InterruptedException - TODO: polymorphic registrations: Supporting JSONObject as
well as Array
org.codehaus.jettison.json.JSONException
javax.ws.rs.WebApplicationException
public javax.ws.rs.core.Response updateService(org.codehaus.jettison.json.JSONObject serviceInfo)
throws javax.ws.rs.WebApplicationException,
org.codehaus.jettison.json.JSONException
org.codehaus.jettison.json.JSONException
javax.ws.rs.WebApplicationException
public javax.ws.rs.core.Response updateServices(org.codehaus.jettison.json.JSONArray serviceInfos)
throws javax.ws.rs.WebApplicationException,
org.codehaus.jettison.json.JSONException
org.codehaus.jettison.json.JSONException
javax.ws.rs.WebApplicationException
public javax.ws.rs.core.Response deleteService(@Context
javax.ws.rs.core.UriInfo infos)
throws javax.ws.rs.WebApplicationException,
org.codehaus.jettison.json.JSONException
infos - contains a ..?SERVICE_ENDPOINT_URL=http://serviceurl
org.codehaus.jettison.json.JSONException
javax.ws.rs.WebApplicationException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||