com.sun.xml.ws.tx.at.internal
Class BranchRecord

java.lang.Object
  extended by 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
BranchRecord()
          Used for recovery (created by readObject) and Externalizable no-arg constructor
 
Method Summary
 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.
 void cleanup()
           
 String getTxLogLocation()
           
 void readExternal(ObjectInput in)
           
 void setTxLogLocation(String logLocation)
           
 String toString()
           
 void writeExternal(ObjectOutput out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BranchRecord

public BranchRecord()
Used for recovery (created by readObject) and Externalizable no-arg constructor

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 key
wsatResource - 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:
writeExternal in interface Externalizable
Throws:
IOException

readExternal

public void readExternal(ObjectInput in)
                  throws IOException,
                         ClassNotFoundException
Specified by:
readExternal in interface Externalizable
Throws:
IOException
ClassNotFoundException

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.