org.jacorb.transaction
Class ResourceImpl

java.lang.Object
  extended by org.jacorb.transaction.ResourceImpl
All Implemented Interfaces:
org.omg.CosTransactions.ResourceOperations

public class ResourceImpl
extends Object
implements org.omg.CosTransactions.ResourceOperations


Constructor Summary
ResourceImpl()
           
 
Method Summary
 void commit_one_phase()
           
 void commit()
           
 void forget()
           
 org.omg.CosTransactions.Vote prepare()
           
 void rollback()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResourceImpl

public ResourceImpl()
Method Detail

prepare

public org.omg.CosTransactions.Vote prepare()
                                     throws org.omg.CosTransactions.HeuristicMixed,
                                            org.omg.CosTransactions.HeuristicHazard
Specified by:
prepare in interface org.omg.CosTransactions.ResourceOperations
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
Specified by:
rollback in interface org.omg.CosTransactions.ResourceOperations
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
Specified by:
commit in interface org.omg.CosTransactions.ResourceOperations
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
Specified by:
commit_one_phase in interface org.omg.CosTransactions.ResourceOperations
Throws:
org.omg.CosTransactions.HeuristicHazard

forget

public void forget()
Specified by:
forget in interface org.omg.CosTransactions.ResourceOperations


Copyright © 2012 JacORB. All Rights Reserved.