Monthly Archives: June 2011

Spring – Composite interceptor to create dynamic interceptor/advice chain

In my projects I reuse approved intercepter implementations. In in some cases I combine several interceptors to one interceptor or dynamicaly chains interceptors. In view of the method invocation the interceptors appears as one interceptor, or in other word as composition of interceptors. To support chaining of interceptors I implemented a CompositeInterceptor and a Interceptors utility class.