|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface OJBTxManager
The OJBTxManager defines the contract for associating the caller with the current or new transaction in ODMG.
Method Summary | |
---|---|
void |
abortExternalTx(TransactionImpl odmgTrans)
|
void |
deregisterTx(java.lang.Object token)
|
TransactionImpl |
getCurrentTransaction()
Returns the current transaction for the calling thread. |
TransactionImpl |
getTransaction()
Returns the current transaction for the calling thread or null
if no transaction was found. |
void |
registerTx(TransactionImpl tx)
|
Methods inherited from interface org.apache.ojb.broker.util.configuration.Configurable |
---|
configure |
Method Detail |
---|
TransactionImpl getCurrentTransaction()
TransactionNotInProgressException
- if no transaction was found.TransactionImpl getTransaction()
null
if no transaction was found.
void registerTx(TransactionImpl tx)
void deregisterTx(java.lang.Object token)
void abortExternalTx(TransactionImpl odmgTrans)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |