Interface JTAUserTransactionLifecycleListener


public interface JTAUserTransactionLifecycleListener
Listener for perform some actions at the specified point of JTA transaction lifecycle.
Transaction lifecycle needs to be managed through JTAUserTransactionLifecycleService to have listeners executed.
For now, we have shared instance of one registered listener for all transactions, so listener implementations need to be thread-safe
Author:
Marek Posolda
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Callback method to be executed after start of JTA transaction
    void
    Callback method to be executed before start of JTA transaction
  • Method Details

    • beforeBegin

      void beforeBegin()
      Callback method to be executed before start of JTA transaction
    • afterBegin

      void afterBegin()
      Callback method to be executed after start of JTA transaction