From: natebowler <nu...@jb...> - 2005-07-20 23:17:38
|
Bill, Sorry to take so long in my response, but this was put on hold and I am just now getting back into it. I have followed your instructions and yes, I can pring out A LOT of information. I'm not sure what this is, but I can't see any information regarding Annotations. Just to sum up again, I am using JDK 1.4.2, and I am trying to annotate my code. The annotationc tag in my Ant file is as follows and runs successfully: [annotationc compilerclasspathref="redrock.aop.classpath.path.id" classpath="${ejb.dest.dir}" xml="true"] [src ] [fileset dir="${src.dir}"] [include name="*.java"/] [/fileset] [/src] [/annotationc] I have an interface named "biz.OptimisticLockRetry". The method I want to have intercepted is annotated using: /** * @@biz.OptimisticLockRetry **/ My pointcut in jboss-aop.xml is defined using: [pointcut name="optimisticLockRetryMethods" expr="execution(public static * *->@biz.OptimisticLockRetry(..))"/] Is there something obvious I'm missing here? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3885793#3885793 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3885793 |