[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: Bean instantiate order with contextual injection

adrian@jboss.org do-not-reply at jboss.com
Wed Aug 16 11:02:48 EDT 2006


There is also another feature request on collections
where it uses any preconstructed collection
rather than creating a new one.
http://jira.jboss.com/jira/browse/JBMICROCONT-35


  | public class MyClass
  | {
  |     private List<String> list;
  | 
  |     public List<String> getList();
  | }
  | 
  | <property name="list"><list><value>...</value><list></property>
  | 

i.e. this will do
getList() and if it is not null, it will add to the list
rather than overwriting it.

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

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



More information about the jboss-dev-forums mailing list