|
DRAFT | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | ||||||||
@Target(value={TYPE,METHOD})
@Retention(value=RUNTIME)
public @interface Interceptors
Declares an ordered list of interceptors for a target class or method of a target class.
@Interceptors(ValidationInterceptor.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.
ExcludeClassInterceptors,
ExcludeDefaultInterceptors| Required Element Summary | |
|---|---|
java.lang.Class[] |
value
|
| Element Detail |
|---|
public abstract java.lang.Class[] value
|
DRAFT | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | ||||||||
Copyright © 2009 Sun Microsystems, Inc. All Rights Reserved. Use is subject to license terms.
Generated on 24-November-2009 03:24