[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: AbstractCollectionMetaData fails with optional add() ope

alesj do-not-reply at jboss.com
Wed Jul 4 02:48:04 EDT 2007


Can you add your XML example?

But I guess this is a cause of this feature:
 - http://jira.jboss.com/jira/browse/JBMICROCONT-35

You can do a workaround with 'lazy' getter:

  | List getMyList()
  | {
  |   return mylist != null ? Collections.unmodifiableList(mylist) : null;
  | }
  |  
If that still works for you.

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

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



More information about the jboss-dev-forums mailing list