Looking at using ClassInfo in AOP
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=148135
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4199716#...
We will initially go from using two abstractions (reflect and javassist) to using three
abstractions (reflect, javassist and ClassInfo). The reflect stuff can be got rid of,
since the initial focus is on getting rid of duplicated code in our pointcut matchers.
However, we will still end up with ClassInfo (for reading classes) and raw javassist (for
modifying classes). I'm toying with the idea of being able to just use ClassInfo
everywhere. Would there be any interest in MutableClassInfo/-MethodInfo etc. interfaces
backed by javassist? The javassist versions of ClassInfo could implement those
interfaces.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4199721#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...