Package javax.interceptor
Annotation Type ExcludeDefaultInterceptors
-
@Target({TYPE,METHOD,CONSTRUCTOR}) @Retention(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