Interface HibernateTransactionDecorator

    • Method Detail

      • build

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