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.Modifier and Type | Method and Description |
---|---|
<T> T |
build(Class<T> serviceInterface,
T delegate,
String serviceId)
Builds a transaction interceptor instance around the delegate.
|
<T> T build(Class<T> serviceInterface, T delegate, String serviceId)
T
- serviceInterface
- interface implemented by the delegatedelegate
- existing object to be wrappedserviceId
- id of service5.6.3 - Copyright © 2003-2021 The Apache Software Foundation.