The following table lists the annotations included in the javax.interceptor package:
Annotation name | Function |
---|---|
@AroundInvoke | Specify invocation of the business method in a method that intercepts. |
@ExcludeClassInterceptors | Set in a method to which the class interceptor is not applied. |
@ExcludeDefaultInterceptors | Specify in a class to which a default interceptor is not applied, and method. |
@Interceptors | Specify the interceptor class to be applied. Note that you can specify the interceptor class in a class and method. |