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

RegistrationCoordinatorPortTypeImpl

public class RegistrationCoordinatorPortTypeImpl extends Object implements RegistrationCoordinatorPortType
This class handles the register web service method
author
Ryan.Shoemaker@Sun.COM
version
$Revision: 1.2.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
Constructors Summary
public RegistrationCoordinatorPortTypeImpl()


      
    
public RegistrationCoordinatorPortTypeImpl(String activityId)
Constructor for maintaining state

param
activityId

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

        return manager;
    
public voidregisterOperation(RegisterType parameters)
Handle ws:coor <Register> messages.

<Register ...>
<ProtocolIdentifier> ... </ProtocolIdentifier>
<ParticipantProtocolService> ... </ParticipantProtocolService>
...
</Register>

param
parameters contains the <register> message

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

        manager = aManager;