[jboss-user] [JBoss Seam] - Seam 1.2.1 + POJO + @Interceptor: possible?
titou09
do-not-reply at jboss.com
Mon Nov 26 16:55:41 EST 2007
is it possible to use custom seam interceptor around invocation of methods of Seam POJO Components?
In the Seam 1.2.1 manual, section 5.2, it is written "You can even use Seam interceptors with JavaBean components, not just EJB3 beans!"
How to do that? is there some sample somewhere?
I tried to use the @Interceptor annotation without success..
My goal is to catch Hibernate exceptions when a method of some component annoted with @Transactional is called, some problem occured and the transaction is rollback, and to "convert" some of them to a business exception...
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4107891#4107891
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4107891
More information about the jboss-user
mailing list