|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.narayana.blacktie.jatmibroker.jab.JABTransaction
public class JABTransaction
Field Summary | |
---|---|
protected org.omg.CosTransactions.Control |
control
|
Constructor Summary | |
---|---|
JABTransaction(JABSession aJABSession,
int aTimeout)
|
|
JABTransaction(String controlIOR)
|
Method Summary | |
---|---|
boolean |
addChildThread(Thread t)
Add the specified thread to the list of threads associated with this transaction. |
void |
commit()
|
static JABTransaction |
current()
|
boolean |
equals(Object obj)
|
void |
finalize()
|
org.omg.CosTransactions.Control |
getControl()
|
String |
getControlIOR()
|
JABSession |
getSession()
|
org.omg.CosTransactions.Status |
getStatus()
|
JABTransaction |
parent()
|
boolean |
removeChildThread()
Remove a child thread. |
boolean |
removeChildThread(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, NotFound, CannotProceed, InvalidName, InvalidName, AdapterInactive, org.jboss.narayana.blacktie.jatmibroker.core.conf.ConfigurationException
TransactionException
NotFound
CannotProceed
InvalidName
AdapterInactive
org.jboss.narayana.blacktie.jatmibroker.core.conf.ConfigurationException
public JABTransaction(String controlIOR) throws JABException, org.jboss.narayana.blacktie.jatmibroker.core.conf.ConfigurationException
JABException
org.jboss.narayana.blacktie.jatmibroker.core.conf.ConfigurationException
Method Detail |
---|
public void finalize() throws Throwable
finalize
in class Object
Throwable
public org.omg.CosTransactions.Status getStatus() throws org.omg.CosTransactions.Unavailable
org.omg.CosTransactions.Unavailable
public boolean equals(Object obj)
equals
in class Object
public 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(Thread t)
true
if successful, false
otherwise.public final boolean removeChildThread()
true
if successful, false
otherwise.public final boolean removeChildThread(String threadId)
true
if successful, false
otherwise.public final JABTransaction parent()
public static final JABTransaction suspend()
public static final boolean resume(JABTransaction act)
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 |