public class ForeignRecoveryContext extends Object implements Externalizable
| Constructor and Description |
|---|
ForeignRecoveryContext()
For recovery, for Externalizable
|
| Modifier and Type | Method and Description |
|---|---|
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
|
public ForeignRecoveryContext()
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 - ObjectInputClassNotFoundException - classNotFoundException from in.readObject()IOException - ioExceptionpublic void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface Externalizableout - ObjectInputIOException - ioExceptionpublic void setTxLogLocation(String logLocation)
public String getTxLogLocation()
public void setRecovered()
public boolean isRecovered()
Copyright © 2005–2018 Oracle Corporation. All rights reserved.