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

kabir.khan@jboss.com do-not-reply at jboss.com
Fri Feb 29 09:21:35 EST 2008


If you do 

  | builder.addPropertyMetaData("name", val1);
  | builder.addPropertyMetaData("name", val2);
  | 

You end up with two AbstractPropertyMetaData entries with the same name. For my use case I need to replace it. 

Should I create new replacePropertyMetaData() methods, or update the existing addPropertyMetaData() methods?

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

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



More information about the jboss-dev-forums mailing list