[jboss-user] [JBoss AOP] - Re: Can't read parameter annotations through reflection

2006-12-07 Thread dwl8
no problem for the delay, thanks a lot for your help! I really appreciate it! Our project isn't going live for at least 4-6 months, still in the early stages of development. currently I'm using default settings for everything. i haven't had the time to delve too deep into JBoss AOP (I plan to t

[jboss-user] [JBoss AOP] - Re: Can't read parameter annotations through reflection

2006-12-05 Thread dwl8
also forgot to add that i'm using version 1.5.2. Thanks for your help View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991319#3991319 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991319 _

[jboss-user] [JBoss AOP] - Re: Can't read parameter annotations through reflection

2006-12-05 Thread dwl8
I ran the Person class as a simple java app with the -javaagent vm parameter and the problem still occurs. The main method prints out "# of Annotations Found: 0". If I run main w/o JBoss AOP there is no issue. I get # of Annotations Found: 1" View the original post : http://www.jboss.com/index

[jboss-user] [JBoss AOP] - Re: Can't read parameter annotations through reflection

2006-12-05 Thread dwl8
I did a bit more testing and when I get rid of the @ReadLock bind in my jboss-aop.xml, parameter annotations can be read correctly even when deployed in Tomcat. I'll try it on JBoss and see if I have more luck. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=

[jboss-user] [JBoss AOP] - Re: Can't read parameter annotations through reflection

2006-12-04 Thread dwl8
Thank you both for your replies. flavia, all my annotations are set to RetentionPolicy.RUNTIME. If only that was the issue... :) stalep, I created a unit test and it read the annotation correctly. It seems that when I deploy it to my app server (Tomcat) the annotation can't be read. Here's a s

[jboss-user] [JBoss AOP] - Can't read parameter annotations through reflection

2006-12-03 Thread dwl8
I'm currently thinking about using JBoss AOP but i can't seem to get by this issue. I cannot read the parameter annotations of methods w/ a pointcut annotation. Here's the code i'm using: jboss-aop.xml: | | | | | | | | | | | | java