Interface Callback


public interface Callback
A simple callback object used by objects to provide automatic transactional or exception handling blocks.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Executes some piece of code within a transaction performing a commit if there is no exception thrown else a rollback is performed
  • Method Details

    • execute

      void execute() throws Exception
      Executes some piece of code within a transaction performing a commit if there is no exception thrown else a rollback is performed
      Throws:
      Exception - TODO