[jboss-dev-forums] [Design the new POJO MicroContainer] - MutableClassInfo?

kabir.khan@jboss.com do-not-reply at jboss.com
Tue Jan 6 06:06:49 EST 2009


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#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#4199721

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



More information about the jboss-dev-forums mailing list