|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.xml.ws.tx.coordinator.Registrant
public abstract class Registrant
This class encapsulates a coordination registrant.
The coordination protocol implementations will extend this class and add protocol specific functionality.
| Field Summary | |
|---|---|
protected static java.util.Map<java.lang.String,Registrant> |
outstandingRegistrants
|
| Constructor Summary | |
|---|---|
protected |
Registrant(Coordinator parent,
Protocol protocol)
Create a Registratant with its coordinator parent for protocol. |
|
Registrant(Coordinator parent,
RegisterType registerRequest)
Create a new registrant |
protected |
Registrant(Coordinator parent,
java.lang.String protocolId)
|
| Method Summary | |
|---|---|
abstract void |
forget()
Forget all resources associated with this Registrant |
Coordinator |
getCoordinator()
Get the parent coordinator for this Registrant |
javax.xml.ws.EndpointReference |
getCoordinatorProtocolService()
|
Identifier |
getId()
|
java.lang.String |
getIdValue()
|
abstract javax.xml.ws.EndpointReference |
getLocalParticipantProtocolService()
|
static Registrant |
getOutstandingRegistrant(java.lang.String id)
Lookup outstanding registrant by id |
javax.xml.ws.EndpointReference |
getParticipantProtocolService()
|
Protocol |
getProtocol()
Get the protocol for this registrant |
RegisterType |
getRegisterRequest()
Get the SOAP register request |
boolean |
isRegistrationCompleted()
|
boolean |
isRemoteCPS()
|
void |
register()
|
static Registrant |
removeOutstandingRegistrant(java.lang.String id)
Remove outstanding registrant by its id. |
void |
setCoordinatorProtocolService(javax.xml.ws.EndpointReference cps)
Set the coordinator protocol service received by coor:registerResponse. |
void |
setParticpantProtocolService(javax.xml.ws.EndpointReference pps)
|
void |
setRegistrationCompleted(boolean value)
|
void |
setRemoteCPS(boolean value)
|
boolean |
waitForRegistrationResponse()
wait for a registerResponse to arrive - this method is only used with remote CPSs |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final java.util.Map<java.lang.String,Registrant> outstandingRegistrants
| Constructor Detail |
|---|
public Registrant(@NotNull
Coordinator parent,
@NotNull
RegisterType registerRequest)
registerRequest - parent - parent coordinator
protected Registrant(Coordinator parent,
java.lang.String protocolId)
protected Registrant(@NotNull
Coordinator parent,
@NotNull
Protocol protocol)
parent - parent coordinatorprotocol - activity protocol| Method Detail |
|---|
public void setParticpantProtocolService(@NotNull
javax.xml.ws.EndpointReference pps)
@NotNull public javax.xml.ws.EndpointReference getParticipantProtocolService()
@Nullable public RegisterType getRegisterRequest()
@NotNull public Protocol getProtocol()
@NotNull public Coordinator getCoordinator()
@NotNull public javax.xml.ws.EndpointReference getCoordinatorProtocolService()
public void setCoordinatorProtocolService(@NotNull
javax.xml.ws.EndpointReference cps)
cps - cps eprpublic void register()
@NotNull public Identifier getId()
@NotNull public java.lang.String getIdValue()
@Nullable public static Registrant getOutstandingRegistrant(java.lang.String id)
id - registrant id
@Nullable public static Registrant removeOutstandingRegistrant(java.lang.String id)
id - registrant id
public void setRemoteCPS(boolean value)
public boolean isRemoteCPS()
public boolean isRegistrationCompleted()
public void setRegistrationCompleted(boolean value)
public boolean waitForRegistrationResponse()
public abstract javax.xml.ws.EndpointReference getLocalParticipantProtocolService()
public abstract void forget()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||