[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: AOPConstructorJoinpoint::methodHasAnnotations is wrong

alesj do-not-reply at jboss.com
Wed Apr 2 06:35:03 EDT 2008


While going over all sub INSTANCE levels, I also use JOINPOINT, where 'real' method annotations live.
This means that I get hasSubInstanceMetaData == true for beans that have class annotated methods.
So this:
 - http://www.jboss.org/index.html?module=bb&op=viewtopic&t=131170&start=10
again fails.

I've added InstanceAnnotation(false) to all our IoC annotations.
So that makes the tests pass.
But it would still create proxy for any other non-InstanceAnnotation marked annotations that would live on methods (on class).

Should I exclude JOINPOINT in that hierarchy?


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4140892#4140892

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4140892



More information about the jboss-dev-forums mailing list