I fail to see how you would get that behaviour... But you can try to use the
following Invocation method instead:
| Object invokeNext(Interceptor[] newInterceptors) throws Throwable;
|
If that does not work, please supply a test case so we can see this in action
View the original post :
[EMAIL PROTECTED] wrote : I fail to see how you would get that behaviour...
I was doing invocation.getInterceptors()[someIndex] = MyDummyInterceptor.
It did the job - interceptor at someIndex was disabled.
But MyDummyInterceptor remained there for all subsequent calls.
Which was a surprise to me