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.
See Also:
  • Method Summary

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

    • run

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