-
1. Re: Seam interceptor for POJO
damianharvey.damianharvey.gmail.com Mar 20, 2008 1:49 PM (in response to dahm)Tobias Hill posted the code to his Interceptor the other day in this thread. I'm using it with POJOs.
Cheers,
Damian.
-
2. Re: Seam interceptor for POJO
dahm Mar 20, 2008 3:16 PM (in response to dahm)Thanks, that's exactly what I need. And it does work!!
My main problem was I thought Seam would handle Interceptors automagically and add them to all components. The workaround
with meta-annotations is not so nice, since it blurs the code
with debugging information.Maybe that is an issue for a future version...?
-
-
4. Re: Seam interceptor for POJO
yk Apr 1, 2008 1:34 PM (in response to dahm)Hi,
Is it possible to declare the interceptor in the ejb-jar.xml?
I've created an Interceptor to record the user preferences and declared it in ejb-jar.xml file just after the seam interceptor but it no longer work!
NB: I've followed the same example as here http://www.michaelyuan.com/blog/2007/07/31/seam-and-soa/
thanks,
-
5. Re: Seam interceptor for POJO
pmuir Apr 5, 2008 5:02 PM (in response to dahm)
Khaled Yousfi wrote on Apr 01, 2008 01:34 PM:
Is it possible to declare the interceptor in the ejb-jar.xml?Yes, if it is an EJB interceptor (and thats not a question for this forum).