jrunx.tyrex.tm.impl
Class ResourceImpl

jrunx.tyrex.tm.impl.ResourceImpl

public final class ResourceImpl

Implements an OTS interface on top of TransactionImpl so we can register a local transaction as a resource in a global transaction. Requires that we use the OTS Java/IDL mapping.


Method Summary
 void commit_one_phase()
           
 void commit()
           
 boolean equals(java.lang.Object other)
           
 void forget()
           
 int hashCode()
           
 org.omg.CosTransactions.Vote prepare()
           
 void rollback()
           
 java.lang.String toString()
           
 

Method Detail

prepare

public org.omg.CosTransactions.Vote prepare()
                                     throws org.omg.CosTransactions.HeuristicMixed,
                                            org.omg.CosTransactions.HeuristicHazard

rollback

public void rollback()
              throws org.omg.CosTransactions.HeuristicCommit,
                     org.omg.CosTransactions.HeuristicMixed,
                     org.omg.CosTransactions.HeuristicHazard

commit

public void commit()
            throws org.omg.CosTransactions.NotPrepared,
                   org.omg.CosTransactions.HeuristicRollback,
                   org.omg.CosTransactions.HeuristicMixed,
                   org.omg.CosTransactions.HeuristicHazard

commit_one_phase

public void commit_one_phase()
                      throws org.omg.CosTransactions.HeuristicHazard

forget

public void forget()

equals

public boolean equals(java.lang.Object other)

hashCode

public int hashCode()

toString

public java.lang.String toString()


Copyright © 2002 Macromedia Corporation. All Rights Reserved.