|
||||||||||
PREV CLASS (src) NEXT CLASS (src) | 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. |
Control |
get_control()
Returns the Control associated with the current transaction. |
Status |
get_status()
Gets the status of current transaction. |
java.lang.String |
get_transaction_name()
Returns the name of the current transaction. |
static TransactionCurrent (src) |
getInstance()
|
static void |
init(org.omg.CosNaming.NamingContextExt nc)
|
void |
resume(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. |
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 |
Constructor Detail |
public TransactionCurrent()
Method Detail |
public static void init(org.omg.CosNaming.NamingContextExt nc)
public static TransactionCurrent (src) getInstance()
public void begin() throws SubtransactionsUnavailable
SubtransactionsUnavailable
org.omg.CosTransactions.CurrentOperations#begin()
public void commit(boolean reportHeuristics) throws NoTransaction, HeuristicHazard, HeuristicMixed
NoTransaction
HeuristicHazard
HeuristicMixed
org.omg.CosTransactions.CurrentOperations#commit(boolean)
public void rollback() throws NoTransaction
NoTransaction
org.omg.CosTransactions.CurrentOperations#rollback()
public void rollback_only() throws NoTransaction
NoTransaction
org.omg.CosTransactions.CurrentOperations#rollback_only()
public Status get_status()
org.omg.CosTransactions.CurrentOperations#get_status()
public java.lang.String get_transaction_name()
org.omg.CosTransactions.CurrentOperations#get_transaction_name()
public void set_timeout(int timeOut)
org.omg.CosTransactions.CurrentOperations#set_timeout(int)
public Control get_control()
org.omg.CosTransactions.CurrentOperations#get_control()
public Control suspend()
org.omg.CosTransactions.CurrentOperations#suspend()
public void resume(Control whichTransaction) throws InvalidControl
InvalidControl
org.omg.CosTransactions.CurrentOperations#resume(org.omg.CosTransactions.Control)
|
||||||||||
PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |