Interface TransactionalLink<T>

  • Type Parameters:
    T - the class representing the transacted resource.

    public interface TransactionalLink<T>
    This interface provides a way to access the instance of a transacted class. As an example, a different JPA EntityManager must be provided for each thread and each transaction inside the current thread. A transactional link is meant to implement this behavior.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      T get()
      Retrieve the correct instance of the class representing the transacted resource.
    • Method Detail

      • get

        T get()
        Retrieve the correct instance of the class representing the transacted resource.
        Returns:
        the T instance.