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

kabir.khan@jboss.com do-not-reply at jboss.com
Thu Jan 8 17:11:01 EST 2009


"stale.pedersen at jboss.org" wrote : 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.

If the same classpool is used, the instance of CtClass will be the same, i.e.:


  | ClassPool pool = ...;
  | CtClass c1 = pool.get("POJO");
  | CtClass c2 = pool.get("POJO")
  | c1 = c2; //Will be true
  | 

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

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



More information about the jboss-dev-forums mailing list