Annotation Type Interceptors

public @interface Interceptors

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

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

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

Interceptors 1.0
See Also:
ExcludeClassInterceptors, ExcludeDefaultInterceptors

Required Element Summary
 java.lang.Class[] value
          An ordered list of interceptors.

Element Detail


public abstract java.lang.Class[] value
An ordered list of interceptors.

Submit a bug or feature

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

Generated on 10-February-2011 12:41

Scripting on this page tracks web page traffic, but does not change the content in any way.