|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.omg.PortableServer.Servant
org.omg.CosTransactions.ResourcePOA
org.openorb.pss.connector.file.FileResource
public class FileResource
This class is a transactional resource implementation required for transactional session management.
Constructor Summary | |
---|---|
FileResource(TransactionalFileSession tfs,
org.omg.CosTransactions.Coordinator coordinator)
Constructor |
Method Summary | |
---|---|
void |
commit_one_phase()
This operation is used to commit all data manager |
void |
commit()
This operation is used to commit all data manager |
void |
forget()
This operation is used to forget a transaction |
org.omg.CosTransactions.Vote |
prepare()
This operation is called by OTS to proceed the 1st phase of the 2.P.C protocol. |
void |
removeItself()
This operation is used to remove this resource. |
void |
rollback()
This operation is used to rollback all data manager |
Methods inherited from class org.omg.CosTransactions.ResourcePOA |
---|
_all_interfaces, _invoke, _this, _this |
Methods inherited from class org.omg.PortableServer.Servant |
---|
_default_POA, _get_delegate, _get_interface_def, _is_a, _non_existent, _object_id, _orb, _poa, _set_delegate, _this_object, _this_object |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FileResource(TransactionalFileSession tfs, org.omg.CosTransactions.Coordinator coordinator)
Method Detail |
---|
public org.omg.CosTransactions.Vote prepare() throws org.omg.CosTransactions.HeuristicMixed, org.omg.CosTransactions.HeuristicHazard
org.omg.CosTransactions.HeuristicMixed
org.omg.CosTransactions.HeuristicHazard
public void rollback() throws org.omg.CosTransactions.HeuristicCommit, org.omg.CosTransactions.HeuristicMixed, org.omg.CosTransactions.HeuristicHazard
org.omg.CosTransactions.HeuristicCommit
org.omg.CosTransactions.HeuristicMixed
org.omg.CosTransactions.HeuristicHazard
public void commit() throws org.omg.CosTransactions.NotPrepared, org.omg.CosTransactions.HeuristicRollback, org.omg.CosTransactions.HeuristicMixed, org.omg.CosTransactions.HeuristicHazard
org.omg.CosTransactions.NotPrepared
org.omg.CosTransactions.HeuristicRollback
org.omg.CosTransactions.HeuristicMixed
org.omg.CosTransactions.HeuristicHazard
public void commit_one_phase() throws org.omg.CosTransactions.HeuristicHazard
org.omg.CosTransactions.HeuristicHazard
public void forget()
public void removeItself()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |