@Path(value="/rest-participant-endpoint") public class RestParticipantEndpointImpl extends Object
| Constructor and Description |
|---|
RestParticipantEndpointImpl() |
| Modifier and Type | Method and Description |
|---|---|
static Participant |
enlistParticipant(String txid,
javax.ws.rs.core.UriInfo info,
String enlistUrl,
ServiceInvocationMeta serviceInvocationMeta) |
javax.ws.rs.core.Response |
getTerminator(javax.ws.rs.core.UriInfo info,
String wId) |
javax.ws.rs.core.Response |
terminate(Integer pId,
String content) |
public static Participant enlistParticipant(String txid, javax.ws.rs.core.UriInfo info, String enlistUrl, ServiceInvocationMeta serviceInvocationMeta) throws ParticipantRegistrationException
ParticipantRegistrationException@PUT
@Path(value="{txid}/{pId}/terminator")
public javax.ws.rs.core.Response terminate(@PathParam(value="pId")@DefaultValue(value="")
Integer pId,
String content)
@HEAD
@Path(value="{txid}/{pId}/participant")
public javax.ws.rs.core.Response getTerminator(@Context
javax.ws.rs.core.UriInfo info,
@PathParam(value="pId")@DefaultValue(value="")
String wId)
Copyright © 2013. All rights reserved.