This chapter discusses how to create interceptor classes and methods that interpose on method invocations or lifecycle events on a target class.
The following topics are addressed here:
Interceptors are used in conjunction with Java EE managed classes to allow developers to invoke interceptor methods on an associated target class, in conjunction with method invocations or lifecycle events. Common uses of interceptors are logging, auditing, and profiling.
The Interceptors 1.1 specification is part of the final release of JSR 318, Enterprise JavaBeans 3.1, ...