[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: Using ClassInfo in JBoss AOP

kabir.khan@jboss.com do-not-reply at jboss.com
Tue Jan 6 17:37:13 EST 2009


For the prototype, can you not subclass JavassistTypeInfoFactoryImpl to override the getTypeInfo() methods making the one taking ClassLoader+name the "main" one? Similarly, override the get() methods and other functionality from WeakClassCache, so we can sidestep the stuff in there for now. Then subclass JavassistTypeInfoFactory to instantiate your (Prototype)JavassistTypeInfoFactoryImpl.

I've only had a very quick look, but I think that way everything else should work as before, the only place I can see JTIFI instantiated is in the JavassistTypeInfoFactory

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

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



More information about the jboss-dev-forums mailing list