com.arjuna.wsc11
Class RegistrationCoordinator

java.lang.Object
  extended by com.arjuna.wsc11.RegistrationCoordinator

public class RegistrationCoordinator
extends Object

Wrapper around low level Registration Coordinator messaging.

Author:
kevin

Constructor Summary
RegistrationCoordinator()
           
 
Method Summary
static W3CEndpointReference register(org.oasis_open.docs.ws_tx.wscoor._2006._06.CoordinationContextType coordinationContext, String messageID, W3CEndpointReference participantProtocolService, String protocolIdentifier)
          Register the participant in the protocol.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RegistrationCoordinator

public RegistrationCoordinator()
Method Detail

register

public static W3CEndpointReference register(org.oasis_open.docs.ws_tx.wscoor._2006._06.CoordinationContextType coordinationContext,
                                            String messageID,
                                            W3CEndpointReference participantProtocolService,
                                            String protocolIdentifier)
                                     throws CannotRegisterException,
                                            InvalidProtocolException,
                                            InvalidStateException,
                                            com.arjuna.webservices.SoapFault
Register the participant in the protocol.

Parameters:
coordinationContext - The current coordination context
messageID - The messageID to use.
participantProtocolService - The participant protocol service.
protocolIdentifier - The protocol identifier.
Returns:
The endpoint reference of the coordinator protocol service.
Throws:
AlreadyRegisteredException - If the participant is already registered.
InvalidProtocolException - If the protocol is unsupported.
InvalidStateException - If the state is invalid
NoActivityException - If there is to activity context active.
com.arjuna.webservices.SoapFault - for errors during processing.
CannotRegisterException


Copyright © 2012. All Rights Reserved.