From: <kab...@jb...> - 2005-07-12 10:56:38
|
That is not possible, pointcuts are static. However, you can intercept calls to Class.forName(), and use the dynamic per-instance api to add interceptors to the returned object. For this to work though, the returned objects need to have been prepared. http://docs.jboss.com/aop/1.3/aspect-framework/examples/dynamic-aop/dynamic.html http://docs.jboss.com/aop/1.3/aspect-framework/reference/en/html/dynamic.html View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3884500#3884500 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3884500 |