[jboss-dev-forums] [Design of Management Features on JBoss] - Issues with MapCompositeValue

emuckenhuber do-not-reply at jboss.com
Fri Apr 17 09:58:42 EDT 2009


Recently i noticed that the behavior of MapCompositeValue is a bit weird.

The main issue with this is that remove() does not update the MetaType. Looking into that - i don't think that the value-keys should be stored in the metaType anyway, as the metaType should be immutable.

I think we should add a keySet() to the MapCompositeValue, otherwise you could get a  value when a entry was removed before.
In the meantime i worked around that and just ignore null values.
Any concerns adding this?

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

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



More information about the jboss-dev-forums mailing list