| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.ojb.odmg.JTATxManager
public class JTATxManager
| Constructor Summary | |
|---|---|
| JTATxManager() | |
| Method Summary | |
|---|---|
|  void | abortExternalTx(TransactionImpl odmgTrans)Abort an active extern transaction associated with the given PB. | 
|  void | configure(Configuration config)configure an object using the Configuration pConfig | 
|  void | deregisterTx(Object transaction)Remove the ODMG transaction from the transaction buffer ODMG transactions are associated with JTA transactions via a map | 
|  TransactionImpl | getCurrentTransaction()Returns the current transaction based on the JTA Transaction. | 
|  Transaction | getJTATransaction() | 
|  TransactionImpl | getTransaction()Returns the current transaction based on the JTA Transaction or nullif no transaction was found. | 
|  void | registerTx(TransactionImpl odmgTrans) | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public JTATxManager()
| Method Detail | 
|---|
public void deregisterTx(Object transaction)
deregisterTx in interface OJBTxManagerpublic void registerTx(TransactionImpl odmgTrans)
registerTx in interface OJBTxManager
public Transaction getJTATransaction()
                              throws SystemException
SystemExceptionpublic TransactionImpl getCurrentTransaction()
getCurrentTransaction in interface OJBTxManagerTransactionNotInProgressException - if no transaction was found.public TransactionImpl getTransaction()
null
 if no transaction was found.
getTransaction in interface OJBTxManagerpublic void abortExternalTx(TransactionImpl odmgTrans)
abortExternalTx in interface OJBTxManagerpublic void configure(Configuration config)
Configurable
configure in interface Configurableconfig - the Configuration object used to configure current instance| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||