This contains annotations and interfaces for defining interceptor methods and interceptor classes and for binding interceptor classes to target classes.
Interceptors 1.2
Interceptor classes
An interceptor class is a class that establishes a set of operations to carry out when a bean is invoked. It is marked with @Interceptor:
@Interceptor
public class AuditInterceptor {
...}
Or through the beans.xml file:
<beans xmlns="http://xmlns.jcp.org/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/beans_1_1.xsd" bean-discovery-mode="none">
<interceptors>
<class...