0 Replies Latest reply on Mar 1, 2006 1:47 PM by paper

    @Resource in SeamInterceptor not working

    paper

      Hi,

      I spend some time trying to use the @Resource Annotation in the LoginInterceptor but nothing worked.

      If I dont use @LoggedIn but @Interceptors({SeamInterceptor.class, LoggedInInterceptor.class}) it works.

      I could imagine the container must determine to what kind of EJB the interceptor is assigned and this isn't possible when using @LoggedIn

      Is this right or is the failiure in my code?

      Got it working, so no help is needed but any answers welcome.

      Greets
      Dennis