public interface UOWAction
UOWManager.runUnderUOW and providing this
action as a parameter.| Modifier and Type | Method and Description |
|---|---|
void |
run()
Invoked as a result of an invocation of
UOWManager.runUnderUOW
once the requested UOW has been established on the thread. |
void run()
throws java.lang.Exception
UOWManager.runUnderUOW
once the requested UOW has been established on the thread.java.lang.Exception - Thrown if an exceptional event occurs. Note that throwing
a checked exception will not result in the current UOW being marked rollback
only or being rolled back. Throwing a RuntimeException will result in the
effective UOW being marked rollback only.UOWManager.runUnderUOW(int, boolean, UOWAction)