Annotations that are used to bind an interceptor to a bean or to the javax.interceptor.Interceptors method. When the bean itself implements interceptor methods, then interceptors can be used to bind additional interceptors. Methods with the following annotations can be implemented in a separate interceptor class or in the bean / entity itself.
Annotation for using the declare method as an interception method:
As an addition, the following lifecycle callback interceptors exist for a stateless and stateless beans session:
And finally, exclusively for stateful beans the following is provided:
For entities available for annotations, you can develop a method as a method that receives lifecycle callbacks:
source share