[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: Composite Map key and weak reference
bstansberry@jboss.com
do-not-reply at jboss.com
Tue May 20 10:23:34 EDT 2008
Oh, but my class above is intended to be passed as a key to WeakHashMap. The ReferenceQueue polling will remove the only strong ref to the Key, at which point the WeakHashMap will do its normal thing and make the Key/value pair eligible for removal.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4152032#4152032
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4152032
More information about the jboss-dev-forums
mailing list