marc fleury wrote: > a stack of ObjectNames and in each "message interceptor mbean" there is a > > ObjectName name = message.getNextInterceptorInStack(); > server.invoke(name, mi) // equivalent dynamic invocation > ... > > whatever there are tons of ways to do that (maybe self contained in MI)
Good point. I had missed the "send stack along in invoke" option. That is indeed superior. Very lightweight and simple. The stack could indeed done as: class InterceptorStack { List interceptors; int idx = 0; InterceptorStack(List aList) { interceptors=aList; } ObjectName getNextInterceptor() { return (ObjectName)interceptors.get(idx++); } } --- So many MI's would be sharing the same list, but with different indices into it. Updating the list would be to simply replace it at the gates. MI's already in progress using the old version get to finish with that old version. Nice. /Rickard -- Rickard Öberg Software Development Specialist xlurc - Xpedio Linköping Ubiquitous Research Center Author of "Mastering RMI" Email: [EMAIL PROTECTED] _______________________________________________ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development