java.lang .Object com.sun.xml.ws.tx.coordinator .Registrant All known Subclasses: com.sun.xml.ws.tx.at .ATParticipant , com.sun.xml.ws.tx.at .ATCompletion ,Registrant abstract public class Registrant (Code) This class encapsulates a coordination registrant.
The coordination protocol implementations will extend this class and
add protocol specific functionality.
author: Ryan.Shoemaker@Sun.COMversion: $Revision: 1.8 $since: 1.0
Registrant public Registrant(Coordinator parent, RegisterType registerRequest)(Code) Create a new registrant
Parameters: registerRequest - requestParameters: parent - parent coordinator
Registrant protected Registrant(Coordinator parent, Protocol protocol)(Code) Create a Registratant with its coordinator parent for protocol.
Parameters: parent - parent coordinatorParameters: protocol - activity protocol
forget abstract public void forget()(Code) Forget all resources associated with this Registrant
getCoordinator public Coordinator getCoordinator()(Code) Get the parent coordinator for this Registrant
the parent coordinator
getCoordinatorProtocolService public synchronized EndpointReference getCoordinatorProtocolService()(Code)
getLocalParticipantProtocolService abstract public EndpointReference getLocalParticipantProtocolService()(Code)
getOutstandingRegistrant public static Registrant getOutstandingRegistrant(String id)(Code) Lookup outstanding registrant by id
Parameters: id - registrant id the outstanding registrant or null if it doesn't exist
getParticipantProtocolService public EndpointReference getParticipantProtocolService()(Code)
getProtocol public Protocol getProtocol()(Code) Get the protocol for this registrant
the protocol identifier
getRegisterRequest public RegisterType getRegisterRequest()(Code) Get the SOAP register request
the SOAP register message
isRegistrationCompleted public boolean isRegistrationCompleted()(Code)
isRemoteCPS public boolean isRemoteCPS()(Code)
register public void register()(Code)
removeOutstandingRegistrant public static Registrant removeOutstandingRegistrant(String id)(Code) Remove outstanding registrant by its id.
Parameters: id - registrant id the outstanding registrant or null if it doesn't exist
setCoordinatorProtocolService public synchronized void setCoordinatorProtocolService(EndpointReference cps)(Code) Set the coordinator protocol service received by coor:registerResponse.
Parameters: cps - cps epr
setParticpantProtocolService public void setParticpantProtocolService(EndpointReference pps)(Code)
setRegistrationCompleted public synchronized void setRegistrationCompleted(boolean value)(Code)
setRemoteCPS public void setRemoteCPS(boolean value)(Code)
waitForRegistrationResponse public boolean waitForRegistrationResponse()(Code) wait for a registerResponse to arrive - this method is only used with remote CPSs
true if <RegistrationResponse> was received, false if there was a timeout.