Interface HibernateTransactionDecorator

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      <T> T build​(java.lang.Class<T> serviceInterface, T delegate, java.lang.String serviceId)
      Builds a transaction interceptor instance around the delegate.
    • Method Detail

      • build

        <T> T build​(java.lang.Class<T> serviceInterface,
                    T delegate,
                    java.lang.String serviceId)
        Builds a transaction interceptor instance around the delegate.
        Type Parameters:
        T -
        Parameters:
        serviceInterface - interface implemented by the delegate
        delegate - existing object to be wrapped
        serviceId - id of service
        Returns:
        a new object implementing the interface that can be used in place of the delegate, providing transactional behavior