|
||||||||||
| 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 |
java.lang.String |
getTxLogLocation()
|
javax.transaction.xa.Xid |
getXid()
|
boolean |
isRecovered()
|
void |
readExternal(java.io.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(java.lang.String logLocation)
|
java.lang.String |
toString()
|
void |
writeExternal(java.io.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 javax.transaction.xa.Xid getXid()
public EndpointReference getEndpointReference()
public void readExternal(java.io.ObjectInput in)
throws java.lang.ClassNotFoundException,
java.io.IOException
readExternal in interface java.io.Externalizablein - ObjectInput
java.lang.ClassNotFoundException - classNotFoundException from in.readObject()
java.io.IOException - ioException
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
writeExternal in interface java.io.Externalizableout - ObjectInput
java.io.IOException - ioExceptionpublic java.lang.String toString()
toString in class java.lang.Objectpublic void setTxLogLocation(java.lang.String logLocation)
public java.lang.String getTxLogLocation()
public void setRecovered()
public boolean isRecovered()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||