[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: Using ClassInfo in JBoss AOP
stale.pedersen@jboss.org
do-not-reply at jboss.com
Thu Jan 8 14:46:30 EST 2009
just to clear it up. its weakclasscache that cache the ctclasses, the methodinfos are also cached if they have been fetched earlier from what i can tell.
one thing we could do is to add a compare(CtClass,CtClass) method and check if there has been any changes after we've fetched the ClassInfo from cache.
since we cant do any changes to JavassistTypeInfo, ill add a simple compare(JavassistTypeInfo,CtClass) in JavassistTypeInfoFactoryImpl when we fetch the object from cache and just compare number of methods/fields. - it should be more thorough, but this would do for now i think.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200422#4200422
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200422
More information about the jboss-dev-forums
mailing list