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

alesj do-not-reply at jboss.com
Wed Feb 18 04:15:08 EST 2009


"stale.pedersen at jboss.org" wrote : 
  | - even though a better solution would probably to use the signature of the method/field/constructor as the map key instead of SignatureKey (atleast it would be more efficient).
  | 
What does javassist return as CtBehavior::getSignature?
How does it look like?
I guess you get the same string even for diff instances of the same method/field/constructor?

"stale.pedersen at jboss.org" wrote : 
  | please explain the reason of having the SignatureKey in JavassistMethodInfo, and if there isnt a good reason ill remove it.
  | 
I also don't see any reason to keep it.

My guess would be that there was no CtBehavior::getSignature at the time of writing this, Adrian?
You can definitely try to change the methods map in JavassistTypeInfo to keep things under this new string signature key.

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

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



More information about the jboss-dev-forums mailing list