[jboss-user] [JBoss Seam] - Re: When can @Logger be used?
raja05
do-not-reply at jboss.com
Mon Aug 14 03:16:05 EDT 2006
Kurt,
In your ejb jar, do you have a ejb-jar.xml that has the information about intercepting all calls to the SeamInterceptor? In the case of a JavaBean, the SeamInterceptor is setup for you by Seam , so you dont do any extra plumbing, but for EJBs, you would need to indicate to Seam to pass those through SeamInterceptor.
If your ejb.jar file contains a ejb-jar.xml with the following entries, it should work
| <ejb-jar>
| <assembly-descriptor>
| <interceptor-binding>
| <ejb-name>*</ejb-name>
| <interceptor-class>org.jboss.seam.ejb.SeamInterceptor</interceptor-class>
| </interceptor-binding>
| </assembly-descriptor>
| </ejb-jar>
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3964895#3964895
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3964895
More information about the jboss-user
mailing list