[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: setting managed property of type List

adrian@jboss.org do-not-reply at jboss.com
Wed Dec 12 07:29:59 EST 2007


"alesj" wrote : OK, this is deeper problem, than I anticipated earlier.
  | 
  | There is a problem of interfaces/abstract classes.

You should just define default implementations for the collection interfaces
like JAXB or JMX does.
http://java.sun.com/javase/6/docs/api/javax/management/MXBean.html
anonymous wrote : 
  | A List is reconstructed as a java.util.ArrayList; a Set as a java.util.HashSet; a SortedSet as a java.util.TreeSet.
  | 

Generically, we could allow some kind of plugin mechanism to allow
somebody to configure:
interface -> implementation class or factory

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

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



More information about the jboss-dev-forums mailing list