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

RegistrationRequesterPortTypeImpl

public class RegistrationRequesterPortTypeImpl extends Object implements RegistrationRequesterPortType
This class handles the registerResponce web service method
author
Ryan.Shoemaker@Sun.COM
version
$Revision: 1.3.2.1 $
since
1.0

Fields Summary
public static final String
serviceName
public static final String
portName
private static final com.sun.xml.ws.tx.common.TxLogger
logger
private WebServiceContext
wsContext
private static com.sun.xml.ws.developer.StatefulWebServiceManager
manager
private String
activityId
private String
registrantId
Constructors Summary
public RegistrationRequesterPortTypeImpl()


      
    
public RegistrationRequesterPortTypeImpl(String activityId, String registrantId)
Constructor for maintaining state

param
activityId
param
registrantId

        this.activityId = activityId;
        this.registrantId = registrantId;
    
Methods Summary
public static com.sun.xml.ws.developer.StatefulWebServiceManagergetManager()

        return manager;
    
public voidregisterResponseOperation(RegisterResponseType parameters)
Handle ws:coor <RegisterResponse> messages.

<RegisterResponse ...>
<CoordinatorProtocolService> ... </CoordinatorProtocolService>
...
</RegisterResponse>

param
parameters contains the <registerResponse> message

        if (logger.isLogging(Level.FINER)) {
            logger.entering("wscoor:registerResponse", parameters);
        }
        RegistrationManager.getInstance().registerResponse(wsContext, activityId, registrantId, parameters);
        if (logger.isLogging(Level.FINER)) {
            logger.exiting("wscoor:registerResponse");
        }
    
public static voidsetManager(com.sun.xml.ws.developer.StatefulWebServiceManager aManager)

        manager = aManager;