1 Reply Latest reply on Jan 5, 2011 4:13 AM by swenvogel

    Interceptor Annotation

    swenvogel

      Hi,


      i have an simple question about the @Interceptor annotation. Where is the difference
      between stateless=true or false?


      I cannot find more detailed informations in the docs.


      Thanks...

        • 1. Re: Interceptor Annotation
          swenvogel

          I have found the answer in the book Seam in Action:


          If the interceptor is stateful, it’s bound to the lifetime of the component to
          which it’s applied. Otherwise, Seam registers a singleton instance of the interceptor.