0 Replies Latest reply on Jun 5, 2006 2:56 AM by superfis

    Default interceptor (explicitly) in seam action bean

    superfis

      Hi,

      For a long time I was trying to solve problem of not working bijection (http://www.jboss.com/index.html?module=bb&op=viewtopic&t=83804) and now I know how to work around it.

      Despite existance of META-INF/ejb-jar.xml file with content:

      <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>


      Jboss-4.0.4GA ignores it (I suppose) and bijections in seam actions work incorrectly. Only when I added @Interceptors( SeamInterceptor.class ) annotation into these beans, it began working correctly.

      How to persuade Jboss-AS to take ejb-jar.xml file into consideration?

      Regards, Slawek