Annotation Interface Interceptor


@Retention(RUNTIME) @Target(TYPE) @Documented public @interface Interceptor

Specifies that a class is an interceptor.

 @Interceptor
 public class ValidationInterceptor { ... }
 

This annotation is optional if the Interceptors annotation or the EJB deployment descriptor are used to associate the interceptor with the target class. It is required when an interceptor binding is used.

Since:
Interceptors 1.1
See Also:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
    Priorities that define the order in which interceptors are invoked.