org.jacorb.transaction
Class ResourceImpl

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

public class ResourceImpl
extends Object
implements ResourceOperations


Constructor Summary
ResourceImpl()
           
 
Method Summary
 void commit_one_phase()
           
 void commit()
           
 void forget()
           
 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 Vote prepare()
             throws HeuristicMixed,
                    HeuristicHazard
Specified by:
prepare in interface ResourceOperations
Throws:
HeuristicMixed
HeuristicHazard

rollback

public void rollback()
              throws HeuristicCommit,
                     HeuristicMixed,
                     HeuristicHazard
Specified by:
rollback in interface ResourceOperations
Throws:
HeuristicCommit
HeuristicMixed
HeuristicHazard

commit

public void commit()
            throws NotPrepared,
                   HeuristicRollback,
                   HeuristicMixed,
                   HeuristicHazard
Specified by:
commit in interface ResourceOperations
Throws:
NotPrepared
HeuristicRollback
HeuristicMixed
HeuristicHazard

commit_one_phase

public void commit_one_phase()
                      throws HeuristicHazard
Specified by:
commit_one_phase in interface ResourceOperations
Throws:
HeuristicHazard

forget

public void forget()
Specified by:
forget in interface ResourceOperations


Copyright © 2015 JacORB. All rights reserved.