|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.xml.ws.tx.at.internal.ForeignRecoveryContext
public class ForeignRecoveryContext
Context that is persisted as part of tx log and used for bottom-up queries either during runtime or recovery.
| Constructor Summary | |
|---|---|
ForeignRecoveryContext()
For recovery, for Externalizable |
|
| Method Summary | |
|---|---|
EndpointReference |
getEndpointReference()
Called by participant and contextworker in order to get parentreference of coordinator port |
String |
getTxLogLocation()
|
Xid |
getXid()
|
boolean |
isRecovered()
|
void |
readExternal(ObjectInput in)
Reads context from ObjectInput and adds to contextmanager |
void |
setEndpointReference(EndpointReference epr,
Transactional.Version version)
Sets the parent coordinator's epr as obtained from RegisterResponse |
void |
setRecovered()
|
void |
setTxLogLocation(String logLocation)
|
String |
toString()
|
void |
writeExternal(ObjectOutput out)
Writes context to ObjectInput |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ForeignRecoveryContext()
| Method Detail |
|---|
public void setEndpointReference(EndpointReference epr,
Transactional.Version version)
epr - EndpointReference Transactional.Versionversion - Transactional.Versionpublic Xid getXid()
public EndpointReference getEndpointReference()
public void readExternal(ObjectInput in)
throws ClassNotFoundException,
IOException
readExternal in interface Externalizablein - ObjectInput
ClassNotFoundException - classNotFoundException from in.readObject()
IOException - ioException
public void writeExternal(ObjectOutput out)
throws IOException
writeExternal in interface Externalizableout - ObjectInput
IOException - ioExceptionpublic String toString()
toString in class Objectpublic void setTxLogLocation(String logLocation)
public String getTxLogLocation()
public void setRecovered()
public boolean isRecovered()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||