"adrian(a)jboss.org" wrote :
|
| | <bind pointcut="execution((a)com.acme.Singleton->new())">
| | <advice name="constructorAdvice"
aspect="Singleton"/>
| | </bind>
| |
| | @com.acme.Singleton
| | public class MyBean {}
| |
|
This pointcut language is wrong, since it requires you to annotate the constructor
rather than the bean, but I'm sure you can lookup the correct syntax in the aop docs.
;-)
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4130754#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...