Configuring the interceptor for each object
Problem:
Your interceptor needs to be configured in a different way, depending on the object being intercepted.
Solution:
Implement InterceptorFactory and implement getInterceptor
to configure your interceptor.
Use DynamicInterceptorStack.addFactory to insert your factory into a interceptor stack.