0 Replies Latest reply on Aug 3, 2009 12:15 PM by Xinhua Gu

    PostConstruct in Seam interceptor

    Xinhua Gu Newbie

      Hi all,

      i use Seam 2.2.0 GA and found @PostConstruct does not work anymore in seam interceptor, here is my code:

      public @interface Kleber
              String value() default "";

      import org.jboss.seam.annotations.intercept.Interceptor;
      import javax.annotation.PostConstruct;
      public class KleberInterceptor
              public Object jndiLookup( InvocationContext invocation ) throws Exception

      the @PostConstruct methode is never invoked.:(

      the doc say

      Seam supports all these lifecycle methods on both component and interceptor not only for EJB3 beans, but also for JavaBean components

      so i think it should work, right? or something wrong here?

      need help :)