[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: Composite Map key and weak reference
alesj
do-not-reply at jboss.com
Tue May 20 11:18:01 EDT 2008
"adrian at jboss.org" wrote :
| If the class references the annotations then all you need to do is make sure you have something like:
|
No, it doesn't.
See my response to Jason.
"adrian at jboss.org" wrote :
| Of course if you really want to be safe, you could try to create a
| WeakCompositeKeyHashMap
| which removes the entry when any of the elements in the composite key
| gets GCed.
Yeah, that I could figure. :-)
See my initial post:
"alesj" wrote :
| Is there an easier way than rewriting the whole WeakHM (or some similar construct)?
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4152062#4152062
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4152062
More information about the jboss-dev-forums
mailing list