org.jacorb.transaction
Class ResourceImpl
java.lang.Object
org.jacorb.transaction.ResourceImpl
- All Implemented Interfaces:
- ResourceOperations
public class ResourceImpl
- extends Object
- implements ResourceOperations
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ResourceImpl
public ResourceImpl()
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.