|
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 |
public interface ITransactionCallback
Callback interface for transactional code. Used with TransactionTemplate
's
execute method, often as anonymous class within a method implementation.
Method Summary | |
---|---|
java.lang.Object |
doInTransaction(ITransactionStatus pStatus)
Gets called by TransactionTemplate.execute(ITransactionCallback) within
a transactional context. |
Method Detail |
---|
java.lang.Object doInTransaction(ITransactionStatus pStatus)
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.
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 |