Package com.arjuna.wsc11
Class RegistrationCoordinator
java.lang.Object
com.arjuna.wsc11.RegistrationCoordinator
Wrapper around low level Registration Coordinator messaging.
- Author:
- kevin
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic jakarta.xml.ws.wsaddressing.W3CEndpointReference
register
(org.oasis_open.docs.ws_tx.wscoor._2006._06.CoordinationContextType coordinationContext, String messageID, jakarta.xml.ws.wsaddressing.W3CEndpointReference participantProtocolService, String protocolIdentifier) Register the participant in the protocol.
-
Constructor Details
-
RegistrationCoordinator
public RegistrationCoordinator()
-
-
Method Details
-
register
public static jakarta.xml.ws.wsaddressing.W3CEndpointReference register(org.oasis_open.docs.ws_tx.wscoor._2006._06.CoordinationContextType coordinationContext, String messageID, jakarta.xml.ws.wsaddressing.W3CEndpointReference participantProtocolService, String protocolIdentifier) throws CannotRegisterException, InvalidProtocolException, InvalidStateException, com.arjuna.webservices.SoapFault Register the participant in the protocol.- Parameters:
coordinationContext
- The current coordination contextmessageID
- The messageID to use.participantProtocolService
- The participant protocol service.protocolIdentifier
- The protocol identifier.- Returns:
- The endpoint reference of the coordinator protocol service.
- Throws:
InvalidProtocolException
- If the protocol is unsupported.InvalidStateException
- If the state is invalidcom.arjuna.webservices.SoapFault
- for errors during processing.CannotRegisterException
-