|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.blacktie.jatmibroker.jab.JABTransaction
public class JABTransaction
Field Summary | |
---|---|
protected org.omg.CosTransactions.Control |
control
|
Constructor Summary | |
---|---|
JABTransaction(JABSession aJABSession,
int aTimeout)
|
|
JABTransaction(java.lang.String controlIOR)
|
Method Summary | |
---|---|
boolean |
addChildThread(java.lang.Thread t)
Add the specified thread to the list of threads associated with this transaction. |
static void |
associateTx(java.lang.String controlIOR)
|
void |
commit()
|
static JABTransaction |
current()
|
boolean |
equals(java.lang.Object obj)
|
void |
finalize()
|
org.omg.CosTransactions.Control |
getControl()
|
java.lang.String |
getControlIOR()
|
JABSession |
getSession()
|
org.omg.CosTransactions.Status |
getStatus()
|
JABTransaction |
parent()
|
boolean |
removeChildThread()
Remove a child thread. |
boolean |
removeChildThread(java.lang.String threadId)
Remove the specified thread from the transaction. |
static boolean |
resume(JABTransaction act)
Resume transaction association on the current thread. |
void |
rollback_only()
|
void |
rollback()
|
static JABTransaction |
suspend()
Suspend the transaction association from the invoking thread. |
Methods inherited from class java.lang.Object |
---|
clone, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected org.omg.CosTransactions.Control control
Constructor Detail |
---|
public JABTransaction(JABSession aJABSession, int aTimeout) throws TransactionException, org.omg.CosNaming.NamingContextPackage.NotFound, org.omg.CosNaming.NamingContextPackage.CannotProceed, org.omg.CosNaming.NamingContextPackage.InvalidName, org.omg.CORBA.ORBPackage.InvalidName, org.omg.PortableServer.POAManagerPackage.AdapterInactive
TransactionException
org.omg.CosNaming.NamingContextPackage.NotFound
org.omg.CosNaming.NamingContextPackage.CannotProceed
org.omg.CosNaming.NamingContextPackage.InvalidName
org.omg.PortableServer.POAManagerPackage.AdapterInactive
public JABTransaction(java.lang.String controlIOR) throws JABException
JABException
Method Detail |
---|
public void finalize() throws java.lang.Throwable
finalize
in class java.lang.Object
java.lang.Throwable
public org.omg.CosTransactions.Status getStatus() throws org.omg.CosTransactions.Unavailable
org.omg.CosTransactions.Unavailable
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public static void associateTx(java.lang.String controlIOR) throws TransactionException
TransactionException
public java.lang.String getControlIOR()
public static JABTransaction current()
public org.omg.CosTransactions.Control getControl()
public JABSession getSession()
public void commit() throws TransactionException
TransactionException
public void rollback() throws TransactionException
TransactionException
public void rollback_only() throws TransactionException
TransactionException
public final boolean addChildThread(java.lang.Thread t)
true
if successful, false
otherwise.public final boolean removeChildThread()
true
if successful, false
otherwise.public final boolean removeChildThread(java.lang.String threadId)
true
if successful, false
otherwise.public final JABTransaction parent()
public static final JABTransaction suspend()
public static final boolean resume(JABTransaction act)
JABTransaction
- act the transaction to associate.
true
if association is successful,
false
otherwise.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |