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#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...