|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.omg.CORBA.LocalObject
org.jboss.tm.iiop.client.TransactionCurrent
This class implements org.omg.CosTransactions.Current.
| Constructor Summary | |
TransactionCurrent()
|
|
| Method Summary | |
void |
begin()
Begins a new transaction, which will become the current transaction associated with the calling thread. |
void |
commit(boolean reportHeuristics)
Commits the current transaction. |
org.omg.CosTransactions.Control |
get_control()
Returns the Control associated with the current transaction. |
org.omg.CosTransactions.Status |
get_status()
Gets the status of current transaction. |
String |
get_transaction_name()
Returns the name of the current transaction. |
static TransactionCurrent |
getInstance()
|
static void |
init(NamingContextExt nc)
|
void |
resume(org.omg.CosTransactions.Control whichTransaction)
Resumes the specified transaction. |
void |
rollback_only()
Marks the current transaction as rollback only. |
void |
rollback()
Rolls the current transaction back. |
void |
set_timeout(int timeOut)
Sets the transaction time out that will be in effect for transactions created after this call. |
org.omg.CosTransactions.Control |
suspend()
Suspends the current transaction. |
| Methods inherited from class org.omg.CORBA.LocalObject |
_create_request, _create_request, _duplicate, _get_domain_managers, _get_interface_def, _get_interface, _get_policy, _hash, _invoke, _is_a, _is_equivalent, _is_local, _non_existent, _orb, _release, _releaseReply, _request, _request, _servant_postinvoke, _servant_preinvoke, _set_policy_override, validate_connection |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, 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 TransactionCurrent()
| Method Detail |
public static void init(NamingContextExt nc)
public static TransactionCurrent getInstance()
public void begin()
throws org.omg.CosTransactions.SubtransactionsUnavailable
begin in interface org.omg.CosTransactions.CurrentOperationsorg.omg.CosTransactions.SubtransactionsUnavailableCurrentOperations.begin()
public void commit(boolean reportHeuristics)
throws org.omg.CosTransactions.NoTransaction,
org.omg.CosTransactions.HeuristicHazard,
org.omg.CosTransactions.HeuristicMixed
commit in interface org.omg.CosTransactions.CurrentOperationsorg.omg.CosTransactions.NoTransaction
org.omg.CosTransactions.HeuristicHazard
org.omg.CosTransactions.HeuristicMixedCurrentOperations.commit(boolean)
public void rollback()
throws org.omg.CosTransactions.NoTransaction
rollback in interface org.omg.CosTransactions.CurrentOperationsorg.omg.CosTransactions.NoTransactionCurrentOperations.rollback()
public void rollback_only()
throws org.omg.CosTransactions.NoTransaction
rollback_only in interface org.omg.CosTransactions.CurrentOperationsorg.omg.CosTransactions.NoTransactionCurrentOperations.rollback_only()public org.omg.CosTransactions.Status get_status()
get_status in interface org.omg.CosTransactions.CurrentOperationsCurrentOperations.get_status()public String get_transaction_name()
get_transaction_name in interface org.omg.CosTransactions.CurrentOperationsCurrentOperations.get_transaction_name()public void set_timeout(int timeOut)
set_timeout in interface org.omg.CosTransactions.CurrentOperationsCurrentOperations.set_timeout(int)public org.omg.CosTransactions.Control get_control()
get_control in interface org.omg.CosTransactions.CurrentOperationsCurrentOperations.get_control()public org.omg.CosTransactions.Control suspend()
suspend in interface org.omg.CosTransactions.CurrentOperationsCurrentOperations.suspend()
public void resume(org.omg.CosTransactions.Control whichTransaction)
throws org.omg.CosTransactions.InvalidControl
resume in interface org.omg.CosTransactions.CurrentOperationsorg.omg.CosTransactions.InvalidControlCurrentOperations.resume(org.omg.CosTransactions.Control)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||