[jboss-user] [JBoss AOP] - Re: interceptors stack is static?

2008-02-01 Thread [EMAIL PROTECTED]
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 :

[jboss-user] [JBoss AOP] - Re: interceptors stack is static?

2008-02-01 Thread bornmw
[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