[jboss-dev-forums] [Design of AOP on JBoss (Aspects/JBoss)] - Re: Metadata rewrite

kabir.khan@jboss.com do-not-reply at jboss.com
Thu Jan 4 18:41:35 EST 2007


I am now able to figure out whether there is instance metadata. The problem is to get the context into the AOPConstructorJoinpoint where I am doing the checks. Locally, I have made AOPConstructorJoinpoint implement KernelControllerContextAware, and KernelControllerContextAction.dispatchJoinpoint() set the  context if the joinpoint implements the KCCA interface.

All tests now pass, although I am not able to get hold of the context if instantiating the bean via the GenericBeanAspectFactory/GenericBeanFactory.

I will tidy up this and commit tomorrow, and we can discuss from there

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

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



More information about the jboss-dev-forums mailing list