FileDocCategorySizeDatePackage
CompletionCoordinatorPortTypeImpl.javaAPI DocExample4593Tue May 29 16:57:20 BST 2007com.sun.xml.ws.tx.webservice.member.at

CompletionCoordinatorPortTypeImpl

public class CompletionCoordinatorPortTypeImpl extends Object implements CompletionCoordinatorPortType
WS-AT Coordinator notified of remote transaction initiator's desire to commit or rollback.

Optional protocol not yet implemented. Must be implemented if Coordination Activation service is supported. Typically, transaction initiator process is co-located locally with ws-at coordinator and this is achieved by local private interactions, not the standardized protocol.

author
Joe.Fialli@Sun.COM
version
$Revision: 1.1.8.1 $
since
1.0

Fields Summary
private WebServiceContext
wsContext
Constructors Summary
Methods Summary
public voidcommitOperation(Notification parameters)

        throw new UnsupportedOperationException("Not yet implemented");
        /*
        ATCompletion completeCoord = getATCompletion();
        if (completeCoord != null ) {
            completeCoord.commit();
        } else {
            // Check if wsa:replyTo used when completeCoord not found.
            // TODO: send committed to wsa:replyTo   
        }
         */
    
private com.sun.xml.ws.tx.at.ATCompletiongetATCompletion()

        /*
         * TODO: fix this to get inbound 2004 WS-A Reference Parameters from message context property (added by
         *       TxRefParamHandler.
        AddressingProperties ap = getWSAProperties();
        assert(ap != null);
        // TODO: get activity Id and registrant id from wsContext.
        //       lookup in ATCoordinator.getRegistrant
        return null;
         */
        throw new UnsupportedOperationException("not implemented yet");
    
public voidrollbackOperation(Notification parameters)

        throw new UnsupportedOperationException("Not yet implemented");
        /*
        ATCompletion completeCoord = getATCompletion();
        if (completeCoord != null ) {
            completeCoord.rollback();
        } else {
            // Check if wsa:replyTo used when completeCoord not found.
            // TODO: send committed to wsa:replyTo   
        }  
        */