|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.jca.core.connectionmanager.listener.TxConnectionListener.TransactionSynchronization
public class TxConnectionListener.TransactionSynchronization

Transaction sync. class. Please note this class has public access is for test purposes only. Except for test purposes it should be considered private! Don't use it outside enclosing class or testcase!
| Field Summary | |
|---|---|
protected Transaction |
currentTx
Transaction |
| Constructor Summary | |
|---|---|
TxConnectionListener.TransactionSynchronization(Transaction tx,
boolean trackByTx)
Create a new TransactionSynchronization.transaction |
|
| Method Summary | |
|---|---|
void |
afterCompletion(int status)
|
void |
beforeCompletion()
|
void |
checkEnlisted()
Get the result of the enlistment. |
boolean |
enlist()
Enlist the resource |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected final Transaction currentTx
| Constructor Detail |
|---|
public TxConnectionListener.TransactionSynchronization(Transaction tx,
boolean trackByTx)
tx - transactiontrackByTx - whether this is track by connection| Method Detail |
|---|
public void checkEnlisted()
throws SystemException
SystemException - for any errorpublic boolean enlist()
public void beforeCompletion()
beforeCompletion in interface Synchronizationpublic void afterCompletion(int status)
afterCompletion in interface Synchronizationpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||