[jboss-jira] [JBoss JIRA] Closed: (JBAOP-611) AspectAnnotationLoader should deploy named pointcuts etc. before deploying the binding
Kabir Khan (JIRA)
jira-events at lists.jboss.org
Wed Sep 10 11:28:29 EDT 2008
[ https://jira.jboss.org/jira/browse/JBAOP-611?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kabir Khan closed JBAOP-611.
----------------------------
Fix Version/s: 2.0.0.CR12
Resolution: Done
> AspectAnnotationLoader should deploy named pointcuts etc. before deploying the binding
> --------------------------------------------------------------------------------------
>
> Key: JBAOP-611
> URL: https://jira.jboss.org/jira/browse/JBAOP-611
> Project: JBoss AOP
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Reporter: Kabir Khan
> Assignee: Kabir Khan
> Fix For: 2.0.0.CR12
>
>
> Otherwise the following does not work in aop-mc-int
> @Aspect(scope=Scope.PER_VM)
> public class NamedPointcutAspect
> {
> public static boolean invoked;
>
> public static void reset()
> {
> invoked = false;
> }
>
> @PointcutDef("execution(* org.jboss.test.microcontainer.annotatedaop.SimplePOJO->method())")
> Object pointcut;
> @Bind(pointcut="org.jboss.test.microcontainer.annotatedaop.NamedPointcutAspect.pointcut")
> public Object advice(MethodInvocation inv) throws Throwable
> {
> invoked = true;
>
> return inv.invokeNext();
> }
> }
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list