|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.xml.ws.tx.coordinator.RegistrationManager
public final class RegistrationManager
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.
Method Summary | |
---|---|
static RegistrationManager |
getInstance()
Get the singleton instance of the RegistrationManager |
static java.net.URI |
getLocalAsyncRegistrationURI()
|
static java.net.URI |
getLocalRegistrationRequesterURI()
|
static java.net.URI |
getLocalRegistrationURI()
|
static com.sun.xml.ws.developer.StatefulWebServiceManager |
getRegistrationCoordinatorStatefulWebServiceManager()
|
static javax.xml.ws.EndpointReference |
newRegistrationEPR(ActivityIdentifier activityId,
long timeoutInMillis)
Create a new EPR for our registration service. |
void |
register(Coordinator c,
Registrant r)
This is the local entry point for register. |
void |
register(javax.xml.ws.WebServiceContext wsContext,
java.lang.String activityId,
RegisterType registerRequest)
Handle an incoming |
void |
registerResponse(javax.xml.ws.WebServiceContext wsContext,
java.lang.String activityId,
java.lang.String registrantId,
RegisterResponseType registerResponse)
Process an incoming |
static RegisterResponseType |
synchronousRegister(javax.xml.ws.WebServiceContext wsContext,
java.lang.String activityId,
RegisterType registerRequest)
Handling incoming synchronous |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static java.net.URI getLocalRegistrationURI()
public static java.net.URI getLocalAsyncRegistrationURI()
public static java.net.URI getLocalRegistrationRequesterURI()
public static javax.xml.ws.EndpointReference newRegistrationEPR(ActivityIdentifier activityId, long timeoutInMillis)
activityId
- the coordination id for this activity, maintained as state in the registration servicetimeoutInMillis
- the expiration value for this context
public static com.sun.xml.ws.developer.StatefulWebServiceManager getRegistrationCoordinatorStatefulWebServiceManager()
public static RegistrationManager getInstance()
public void register(@NotNull javax.xml.ws.WebServiceContext wsContext, @NotNull java.lang.String activityId, @NotNull RegisterType registerRequest)
wsContext
- webservice contextregisterRequest
- the incoming activityId
- activity idpublic void register(Coordinator c, Registrant r)
c
- Coordinatorr
- registrantpublic void registerResponse(@NotNull javax.xml.ws.WebServiceContext wsContext, @NotNull java.lang.String activityId, @NotNull java.lang.String registrantId, @NotNull RegisterResponseType registerResponse)
activityId
- activity idregistrantId
- registrant idregisterResponse
- wsContext
- context of the inbound web service invocation@NotNull public static RegisterResponseType synchronousRegister(@NotNull javax.xml.ws.WebServiceContext wsContext, @NotNull java.lang.String activityId, @NotNull RegisterType registerRequest)
activityId
- activity idregisterRequest
- wsContext
- context for incoming web service invocation
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |