[jboss-user] [JBoss AOP] - Re: Aspect scope and construction pointcuts
chrismeadows
do-not-reply at jboss.com
Thu Nov 2 06:38:30 EST 2006
Thanks for replying stalep.
"stalep" wrote :
| @Aspect(scope=Scope.PER_INSTANCE)
| | public class MyAspect {
| | @Bind (pointcut="execution(public MyAspected->new())")
| | public Object construction(Invocation invocation) throws Throwable { ... }
| | }
|
Yup, I had tried with an execution (rather than construction) pointcut as well, and it hadn't worked. I thought it was better to report an exception rather than an apparent no-op.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3982628#3982628
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3982628
More information about the jboss-user
mailing list