A reusable and extensible interceptor framework. This package contains a reusable and extensible interceptor framework. This is very useful to provide a very flexible mechanism to insert simplistic business logic into all invocations on one or more target objects. The InterceptorStack represents a chain or stack of {@link Interceptor interceptors} that are invoked to perform an action or operation. The various {@link Interceptor interceptors} each are given the opportunity to do something interesting before delegating to the next {@link Interceptor interceptor} in the stack. Generally the last {@link Interceptor interceptor} in the chain invokes the requested operation, and returns the result back through the stack (in the reverse order). Again, each {@link Interceptor interceptor} can do something interesting before returning the results back to their caller. Here are a few examples of "something interesting" an {@link Interceptor interceptor} may do: Of course, there are many more.

Related Documentation