1 Reply Latest reply on May 5, 2011 5:22 AM by Wolf-Dieter Fink

    Use of @Interceptors as meta-annotation

    Michael Huss Newbie

      Hi all,

       

      I'm trying to use @Interceptors as meta-annotation by defining my own annotation for a security check.

      A similar example is explained here:

       

      http://docs.redhat.com/docs/en-US/JBoss_Enterprise_Web_Platform/5/html/Seam_Reference_Guide/ch07s11.html

       

      I do NOT using Seam. My annotation looks like

       

      @Target(TYPE)

      @Retention(RUNTIME)

      @Interceptors(LoggedInInterceptor.class)

          public @interface LoggedIn {}

       

      By applying this annotation on a SLSB (class level) the defined "LoggedInInterceptor.class" is not called ..

      What's going wrong here ???

       

      Mike