Package com.ibm.wsspi.uow
Interface UOWAction
-
public interface UOWActionA piece of logic to be performed under a particular type of unit of work. The work is performed by invokingUOWManager.runUnderUOWand providing this action as a parameter.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidrun()Invoked as a result of an invocation ofUOWManager.runUnderUOWonce the requested UOW has been established on the thread.
-
-
-
Method Detail
-
run
void run() throws java.lang.Exception
Invoked as a result of an invocation ofUOWManager.runUnderUOWonce the requested UOW has been established on the thread.- Throws:
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.- See Also:
UOWManager.runUnderUOW(int, boolean, UOWAction)
-
-