|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.omg.CORBA.portable.ObjectImpl
org.omg.CosTransactions._ResourceStub
public class _ResourceStub
The Transaction Service uses a two-phase commitment protocol to complete a top-level transaction with each registered resource. The Resource interface defines the operations invoked by the transaction service on each resource. Each object supporting the Resource interface is implicitly associated with a single top-level transaction. Note that in the case of failure, the completion sequence will continue after the failure is repaired. A resource should be prepared to receive duplicate requests for the commit or rollback operation and to respond consistently.
Constructor Summary | |
---|---|
_ResourceStub()
|
Method Summary | |
---|---|
java.lang.String[] |
_ids()
|
void |
commit_one_phase()
Operation commit_one_phase |
void |
commit()
Operation commit |
void |
forget()
Operation forget |
Vote |
prepare()
Operation prepare |
void |
rollback()
Operation rollback |
Methods inherited from class org.omg.CORBA.portable.ObjectImpl |
---|
_create_request, _create_request, _duplicate, _get_delegate, _get_domain_managers, _get_interface_def, _get_policy, _hash, _invoke, _is_a, _is_equivalent, _is_local, _non_existent, _orb, _release, _releaseReply, _request, _request, _servant_postinvoke, _servant_preinvoke, _set_delegate, _set_policy_override, equals, hashCode, toString |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.omg.CORBA.Object |
---|
_create_request, _create_request, _duplicate, _get_domain_managers, _get_interface_def, _get_policy, _hash, _is_a, _is_equivalent, _non_existent, _release, _request, _set_policy_override |
Constructor Detail |
---|
public _ResourceStub()
Method Detail |
---|
public java.lang.String[] _ids()
_ids
in class org.omg.CORBA.portable.ObjectImpl
public Vote prepare() throws HeuristicMixed, HeuristicHazard
prepare
in interface ResourceOperations
HeuristicMixed
HeuristicHazard
public void rollback() throws HeuristicCommit, HeuristicMixed, HeuristicHazard
rollback
in interface ResourceOperations
HeuristicCommit
HeuristicMixed
HeuristicHazard
public void commit() throws NotPrepared, HeuristicRollback, HeuristicMixed, HeuristicHazard
commit
in interface ResourceOperations
NotPrepared
HeuristicRollback
HeuristicMixed
HeuristicHazard
public void commit_one_phase() throws HeuristicHazard
commit_one_phase
in interface ResourceOperations
HeuristicHazard
public void forget()
forget
in interface ResourceOperations
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |