|
From: Chris N. <ch...@si...> - 2003-11-26 19:09:50
|
Rod Johnson wrote: > I've just added a HotSwappableInvokerInterceptor that allows such swapping > for advised objects. I think it's better to do this via AOP than via an ad > hoc DP solution. This way it will work for classes proxied by CGLIB also. Hot-swapping is a pretty specialized case in that it doesn't require a Method object or a boxed argument array, just a reference to the object to delegate to. CGLIB2 has different interceptor types that can take advantage of this, so you may not want to be reusing the generic AOP code anyway. Chris |