Package jakarta.interceptor
Annotation Type ExcludeClassInterceptors
-
@Target({METHOD,CONSTRUCTOR}) @Retention(RUNTIME) public @interface ExcludeClassInterceptors
Used to exclude class-level interceptors for the lifecycle callback method, business method, timeout method, or constructor to which it is applied.Excludes interceptors defined by means of the
Interceptors
annotation. Use of this annotation to exclude interceptors defined by means of interceptor binding annotations is not portable.@ExcludeClassInterceptors public void updateOrder(Order order) { ... }
- Since:
- Jakarta Interceptors 1.0
- See Also:
ExcludeDefaultInterceptors