Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
5.4
-
None
Description
Currently, Tapestry provides a HibernateTransactionAdvisor service that can be used from a method advice method to instrument services that use @CommitAfter. However, it is still up the individual developer to create the advice method.
Instead should provide a standard advisor that advises all services when it see @CommitAfter on a method of a service interface.
Possibly we need a secondary annotation to exclude a service from this behavior.