Package com.ibm.wsspi.uow
Interface UOWAction
public interface UOWAction
A piece of logic to be performed under a particular type of unit of work. The work
is performed by invoking
UOWManager.runUnderUOW
and providing this
action as a parameter.-
Method Summary
Modifier and TypeMethodDescriptionvoid
run()
Invoked as a result of an invocation ofUOWManager.runUnderUOW
once the requested UOW has been established on the thread.
-
Method Details
-
run
Invoked as a result of an invocation ofUOWManager.runUnderUOW
once the requested UOW has been established on the thread.- Throws:
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.- See Also:
-