javax.interceptor

## Annotation Type ExcludeDefaultInterceptors

-     @Target(value={TYPE,METHOD,CONSTRUCTOR})
      @Retention(value=RUNTIME)
      public @interface ExcludeDefaultInterceptors

  Used to exclude default interceptors for a target class or a lifecycle callback, business, or timeout method of a target class, or a constructor of a target class.

       @ExcludeDefaultInterceptors
       @Interceptors(ValidationInterceptor.class)
       public class Order { ... }

       @ExcludeDefaultInterceptors
       public void updateOrder(Order order) { ... }

  Since:
    Interceptors 1.0

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