-
@Target({TYPE,METHOD,CONSTRUCTOR}) @Retention(RUNTIME) public @interface ExcludeDefaultInterceptors
Used to exclude default interceptors for a target class or for a lifecycle callback method, business method, timeout method, or constructor of a target class.@ExcludeDefaultInterceptors @Interceptors(ValidationInterceptor.class) public class Order { ... }
@ExcludeDefaultInterceptors public void updateOrder(Order order) { ... }
- Since:
- Jakarta Interceptors 1.0