com.ibm.wsspi.uow

Interface UOWAction


  1. 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.
See Also:
UOWManager.runUnderUOW(int, boolean, UOWAction)

Method Summary

Modifier and Type Method and Description
  1. void
run()
Invoked as a result of an invocation of UOWManager.runUnderUOW once the requested UOW has been established on the thread.

Method Detail

run

  1. void run()
  2. throws java.lang.Exception
Invoked as a result of an invocation of UOWManager.runUnderUOW once 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: