Spring – Composite interceptor to create dynamic interceptor/advice chain
Leave a reply
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.
Read More...