public interface HibernateTransactionDecorator
CommitAfter
the current transaction is committed.
Declared exceptions will also commit the
transaction; runtime exceptions will the
transaction.
It is recommended that you switch from the use of decoration to the use of advice; use the HibernateTransactionAdvisor
(from a service advisor method) instead.<T> T build(Class<T> serviceInterface, T delegate, String serviceId)
T
- serviceInterface
- interface implemented by the delegatedelegate
- existing object to be wrappedserviceId
- id of service${project.version} - Copyright © 2003-2015 The Apache Software Foundation.