title: Interceptor method not called with interceptor binding
body: <p>I'm using Java EE 6 &amp; Jboss AS7.1 and try to use interceptor binding (<a href="http://docs.jboss.org/cdi/spec/1.0/html/interceptors.html">Example from jboss site</a>).</p>
  
  <p>I have an InterceptorBinding annotation:</p>
  
  <pre><code>@InterceptorBinding
  @Target({ ElementType.METHOD, ElementType.TYPE })
  @Retention(RetentionPolicy.RUNTIME)
  public @interface GeoRestrictedEquipment {
  }
  </code></pre>
  
  <p>The interceptor:</p>
  
  <pre><code>@GeoRestrictedEquipment
  @Interceptor
  public class GeoRestrictedEquipmentInterceptor {
  
      @EJB EquipmentDao equipmenttDao;    
      @EJB SecurityService securityService;    
  
      @AroundInvoke
      public Object checker(InvocationContext ctx) throws Exception {
          Integer id = (Integer) ctx.getParameters()[0];
          Equipment equipment = equipmenttDao.findById(id);
          GeoChecker.check(equipment.getSite(), securityService.getUser());
  
          return ctx.proceed();
      }
  }
  </code></pre>
  
  <p>And a bean:</p>
  
  <pre><code>@Stateless
  @LocalBean
  @SecurityDomain(Realm.NAME)
  @RolesAllowed({ Roles.REGISTERED })
  public class PumpService implements PumpServiceLocal {
  
      @Override
      @GeoRestrictedEquipment
      public PumpInfos getPumpInfos(Integer pumpId) {
          /* ... */
      }
  }
  </code></pre>
  
  <p>But the interceptor is not called... What do I miss from the example ?</p>
  
  <p>The interceptor is called when I write this:</p>
  
  <pre><code>@Override
  @Interceptors({GeoRestrictedEquipmentInterceptor.class})
  public PumpInfos getPumpInfos(Integer pumpId) {
      /* ... */
  }
  </code></pre>
  
  <p>Thanks for your help.</p>