javax.enterprise.inject

## Annotation Type Intercepted

-     @Target(value={PARAMETER,FIELD})
      @Retention(value=RUNTIME)
      @Documented
      @Qualifier
      public @interface Intercepted

  An interceptor may inject metadata about the bean it is intercepting.

       @Transactional @Interceptor
       public class TransactionInterceptor {

          @Inject @Intercepted Bean<?> bean;

          @AroundInvoke
          public Object manageTransaction(InvocationContext ctx) throws Exception { ... }

       }

  Since:
    1.1
  Author:
    Pete Muir

Copyright © 1996-2013, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.