|
From: <kab...@jb...> - 2006-06-30 12:51:44
|
Hmmm, I'm not getting you, please elaborate. BTW the interceptor I outlined was for field interception, and would be used only for a field for a particular instance. I see now that it was a bit too simple. It should really be scoped PER_JOINPOINT, so that the "done" book-keeping is only done for a particular field. Now, this is not possible with the existing InstanceAdvisor API, since per instance aspect added there apply to ALL joinpoints. However, with the new AOP 2 weaving this is possible. Take a look at org.jboss.test.aop.dynamicgenadvisor.DynamicTester to see how this works. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3954663#3954663 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3954663 |