Hi all,
i use Seam 2.2.0 GA and found @PostConstruct does not work anymore in seam interceptor, here is my code:
Annotation:
@Target(TYPE)
@Documented
@Retention(RUNTIME)
@Interceptors(KleberInterceptor.class)
public @interface Kleber
{
String value() default "";
}
interceptor:
import org.jboss.seam.annotations.intercept.Interceptor;
import javax.annotation.PostConstruct;
@Interceptor
public class KleberInterceptor
{
@PostConstruct
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 :)
thanks