|
Oracle® Data Integrator Java API Reference 11g Release 1 (11.1.1.3.0) E17060-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.odi.core.persistence.transaction.support.TransactionCallbackWithoutResult
public abstract class TransactionCallbackWithoutResult
Simple convenience class for ITransactionCallback
implementation.
Allows for implementing a doInTransaction version without result, i.e. without
the need for a return statement.
Constructor Summary | |
---|---|
TransactionCallbackWithoutResult()
|
Method Summary | |
---|---|
java.lang.Object |
doInTransaction(ITransactionStatus pStatus)
Gets called by TransactionTemplate.execute(ITransactionCallback) within
a transactional context. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TransactionCallbackWithoutResult()
Method Detail |
---|
public java.lang.Object doInTransaction(ITransactionStatus pStatus)
ITransactionCallback
TransactionTemplate.execute(ITransactionCallback)
within
a transactional context. Does not need to care about transactions itself.
Allows for returning a result object created within the transaction, i.e. an ODI entity or a collection of ODI entities.
A RuntimeException thrown by the callback is treated as application exception that enforces a rollback. An exception gets propagated to the caller of the template.
doInTransaction
in interface ITransactionCallback
pStatus
- associated transaction status
null
|
Oracle® Data Integrator Java API Reference 11g Release 1 (11.1.1.3.0) E17060-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |