Implementing the CDI interceptor