Johan, Did you try using the "name" attribute on the <interceptor> element? E.g.
<interceptor service-id="hivemind.lib.MethodInterceptorFactory" name="foo"> <impl object="service:SomeService" /> </interceptor> <interceptor service-id="hivemind.lib.MethodInterceptorFactory" name="bar" after="foo"> <impl object="instance:com.myco.interceptor.SecurityInterceptor" /> </interceptor> --knut On 7/19/06, Johan Lindquist <[EMAIL PROTECTED]> wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi All, I have recently been using the MethodInterceptorFactory to create interceptors based on the AOP Alliance libraries. Now, it is all fine until I realised that I can not have two different interceptors (using the MethodInterceptorFactory service id) added to the same service point. This would make sense if you for example referred to the logging interceptor - two of it would be kinda dum. But since the MethodInterceptorFactory is simply providing the plumbing for the real implementation, 2 or more of this particular contribution should be fine right? Not sure if this is an easy problem to solve or not? Cheers, johan - -- you too? -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFEvjIN1Tv8wj7aQ34RAp8bAJ9hbaK4PExHuKpBx6J+BhBcMj+IvwCfbUDG HIy+uWB36gAXRWoOkv/HJBM= =/lZk -----END PGP SIGNATURE-----