what are the interceptors?
In Java interceptors are defined as part of Java Java Interceptors specification. It is used to intercept invocation of some method do some processing while method is being called.
In Interceptors specification tells about two types of interception points:
a) business method interception, and b) lifecycle callback interception.
Here is an example of interception in Struts framework: