Home » tapestry-src-5.0.19 » org.apache.tapestry5.hibernate » [javadoc | source]
org.apache.tapestry5.hibernate
public interface: HibernateTransactionDecorator [javadoc | source]

All Known Implementing Classes:
    HibernateTransactionDecoratorImpl

Service that can create an interceptor that wraps around a service implementation. After invoking service methods marked by org.apache.tapestry5.hibernate.annotations.CommitAfter the current transaction is committed. Declared exceptions will also {@linkplain org.apache.tapestry5.hibernate.HibernateSessionManager#commit() commit the transaction}; runtime exceptions will {@linkplain org.apache.tapestry5.hibernate.HibernateSessionManager#abort() the transaction}.
Method from org.apache.tapestry5.hibernate.HibernateTransactionDecorator Summary:
build
Method from org.apache.tapestry5.hibernate.HibernateTransactionDecorator Detail:
 public T build(Class<T> serviceInterface,
    T delegate,
    String serviceId)
    Builds a transaction interceptor instance around the delegate.