| java.lang.Object com.sun.xml.ws.tx.coordinator.RegistrationManager
RegistrationManager | final public class RegistrationManager (Code) | | This singleton class handles the register and registerResponse operations for
both local and remote (or external) clients. The exposed web service endpoints
for register and registerResponse delegate to the methods in this class.
author: Ryan.Shoemaker@Sun.COM version: $Revision: 1.16 $ since: 1.0 |
getInstance | public static RegistrationManager getInstance()(Code) | | Get the singleton instance of the RegistrationManager
the RegistrationManager |
getLocalAsyncRegistrationURI | public static URI getLocalAsyncRegistrationURI()(Code) | | |
getLocalRegistrationRequesterURI | public static URI getLocalRegistrationRequesterURI()(Code) | | |
getLocalRegistrationURI | public static URI getLocalRegistrationURI()(Code) | | |
getRegistrationCoordinatorStatefulWebServiceManager | public static StatefulWebServiceManager getRegistrationCoordinatorStatefulWebServiceManager()(Code) | | |
newRegistrationEPR | public static EndpointReference newRegistrationEPR(ActivityIdentifier activityId)(Code) | | Create a new EPR for our registration service.
Note: as a side-effect, this method creates a stateful instance of the registration service that
will handle correlation when a client actually registers with us. Should we consider moving this
code to point of use (ie during coordination context creation)?
Parameters: activityId - the coordination id for this activity, maintained as state in the registration service an EPR containing the address of our registration service |
register | public void register(WebServiceContext wsContext, String activityId, RegisterType registerRequest)(Code) | | Handle an incoming web service request from an external Participant
and send a back.
Parameters: wsContext - webservice context Parameters: registerRequest - the incoming request Parameters: activityId - activity id |
register | public void register(Coordinator c, Registrant r)(Code) | | This is the local entry point for register. Depending on the root registration
service contained in the coordinator, this method will either invoke registerOperation
on a remote registration service or simply register locally with our registration
service.
Parameters: c - Coordinator Parameters: r - registrant |
registerResponse | public void registerResponse(WebServiceContext wsContext, String activityId, String registrantId, RegisterResponseType registerResponse)(Code) | | Process an incoming message.
Parameters: activityId - activity id Parameters: registrantId - registrant id Parameters: registerResponse - message Parameters: wsContext - context of the inbound web service invocation |
synchronousRegister | public static RegisterResponseType synchronousRegister(WebServiceContext wsContext, String activityId, RegisterType registerRequest)(Code) | | Handling incoming synchronous and return .
Parameters: activityId - activity id Parameters: registerRequest - request a new Parameters: wsContext - context for incoming web service invocation |
|
|