- java.lang.Object
-
- com.sun.xml.ws.tx.at.internal.BranchRecord
-
- All Implemented Interfaces:
Externalizable,Serializable
public class BranchRecord extends Object implements Externalizable
Encapsulates remote WS-AT participants as a branch for this superior transaction.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BranchRecord()Used for recovery (created by readObject) and Externalizable no-arg constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.sun.xml.ws.tx.at.internal.BranchRecord.RegisteredResourceaddSubordinate(Xid xid, WSATXAResource wsatResource)Adds the specified WS-AT resource to the gateway branch record.voidcleanup()StringgetTxLogLocation()voidreadExternal(ObjectInput in)voidsetTxLogLocation(String logLocation)StringtoString()voidwriteExternal(ObjectOutput out)
-
-
-
Method Detail
-
addSubordinate
public com.sun.xml.ws.tx.at.internal.BranchRecord.RegisteredResource addSubordinate(Xid xid, WSATXAResource wsatResource)
Adds the specified WS-AT resource to the gateway branch record.- Parameters:
xid- Xid used for keywsatResource- WSATXAResource- Returns:
- RegisteredResource that contains (WSAT)XAResource provided
-
cleanup
public void cleanup()
-
setTxLogLocation
public void setTxLogLocation(String logLocation)
-
getTxLogLocation
public String getTxLogLocation()
-
writeExternal
public void writeExternal(ObjectOutput out) throws IOException
- Specified by:
writeExternalin interfaceExternalizable- Throws:
IOException
-
readExternal
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
- Specified by:
readExternalin interfaceExternalizable- Throws:
IOExceptionClassNotFoundException
-
-