|
|||||||||
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(org.apache.ojb.broker.util.configuration.Configuration config)
|
void |
deregisterTx(java.lang.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. |
javax.transaction.Transaction |
getJTATransaction()
|
TransactionImpl |
getTransaction()
Returns the current transaction based on the JTA Transaction or null
if no transaction was found. |
void |
registerTx(TransactionImpl odmgTrans)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JTATxManager()
Method Detail |
---|
public void deregisterTx(java.lang.Object transaction)
deregisterTx
in interface OJBTxManager
public void registerTx(TransactionImpl odmgTrans)
registerTx
in interface OJBTxManager
public javax.transaction.Transaction getJTATransaction() throws javax.transaction.SystemException
javax.transaction.SystemException
public TransactionImpl getCurrentTransaction()
getCurrentTransaction
in interface OJBTxManager
TransactionNotInProgressException
- if no transaction was found.public TransactionImpl getTransaction()
null
if no transaction was found.
getTransaction
in interface OJBTxManager
public void abortExternalTx(TransactionImpl odmgTrans)
abortExternalTx
in interface OJBTxManager
public void configure(org.apache.ojb.broker.util.configuration.Configuration config)
configure
in interface org.apache.ojb.broker.util.configuration.Configurable
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |