|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public static interface HostContextAccessor.HostTransactionCallback<T>
The interface to implement for code that needs to be ran inside a host transaction
Use Void for void returns.
| Method Summary | |
|---|---|
T |
doInTransaction()
Runs an action in a transaction and returns a optional value. |
| Method Detail |
|---|
T doInTransaction()
RuntimeException - if anything went wrong. The caller will be responsible for rolling back.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||