javax.interceptor

## Annotation Type Interceptors

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

  Declares an ordered list of interceptors for a target class, a method or a constructor of a target class.

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

       @Interceptors({ValidationInterceptor.class, SecurityInterceptor.class})
       public void updateOrder(Order order) { ... }

  Only business method interception or timeout method interception may be specified by a method-level `Interceptors` declaration.

  Constructor interception may be specified by a constructor-level `Interceptors` declaration.

  Since:
    Interceptors 1.0
  See Also:
    `ExcludeClassInterceptors`, `ExcludeDefaultInterceptors`

- - ### Required Element Summary

    Required Elements
    Modifier and Type | Required Element and Description
    --- | ---
    `Class[]` | `value` An ordered list of interceptors.

- - ### Element Detail

    - #### value

          public abstract Class[] value

      An ordered list of interceptors.

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