I was never happy with that solution, since there are so many other listener method invocations (in T4) that should not be wrapped with a transaction. The technique in tapestry-hibernate shows one approach to wrapping an entire request, which I think is more appropriate.
On 6/26/07, Ben Tomasini <[EMAIL PROTECTED]> wrote:
All, In Tap4, I used a ListenerInvokerFilter to wrap a Spring transaction around my listeners. It was a very handy way to do transaction demarcation. Is there a way to inject similar logic around a ComponentEvent? Ben
-- Howard M. Lewis Ship TWD Consulting, Inc. Independent J2EE / Open-Source Java Consultant Creator and PMC Chair, Apache Tapestry Creator, Apache HiveMind Professional Tapestry training, mentoring, support and project work. http://howardlewisship.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]