[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: Composite Map key and weak reference

bstansberry@jboss.com do-not-reply at jboss.com
Thu May 22 10:52:19 EDT 2008


I just wrapped them in WeakRefs in case they would leak the Class' classloader, preventing gc of the Class.  Don't know whether in your scenario they will or not.

TBH, I didn't think much at all about the annotations; I was focused on the Class; just threw in the annotation array because you said your key had one.

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

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



More information about the jboss-dev-forums mailing list