FileDocCategorySizeDatePackage
ActivationCoordinatorPortTypeImpl.javaAPI DocExample4389Tue May 29 16:57:20 BST 2007com.sun.xml.ws.tx.webservice.member.coord

ActivationCoordinatorPortTypeImpl

public class ActivationCoordinatorPortTypeImpl extends Object implements ActivationCoordinatorPortType
This class handles the createCoordinationContext web service request
author
Ryan.Shoemaker@Sun.COM
version
$Revision: 1.1.8.1 $
since
1.0

Fields Summary
private static final com.sun.xml.ws.tx.common.TxLogger
logger
private WebServiceContext
wsContext
Constructors Summary
Methods Summary
public voidcreateCoordinationContextOperation(CreateCoordinationContextType parameters)
Handle <createCoordinationContext> message.

This method will process the request and construct a new {@link com.sun.xml.ws.tx.coordinator.Coordinator} to cache it in the {@link com.sun.xml.ws.tx.coordinator.CoordinationManager}.

This method will only be used for interop with other coordinators. Java clients will typically contact their local coordinator via more performant paths.

<CreateCoordinationContext ...>
<Expires> ... </Expires>?
<CurrentContext> ... </CurrentContext>?
<CoordinationType> ... </CoordinationType>
...
</CreateCoordinationContext>

param
parameters contains the <CreateCoordinationContext> message


                                                                                        
        
        if (logger.isLogging(Level.FINER)) {
            logger.entering("wscoor:createCoordinationContext", parameters);
        }
        CoordinationManager coordMgr = CoordinationManager.getInstance();
        coordMgr.lookupOrCreateCoordinator(parameters);
        if (logger.isLogging(Level.FINER)) {
            logger.exiting("wscoor:createCoordinationContext");
        }