[JBoss-dev] [Design the new POJO MicroContainer] - Re: initializing a GenericBeanFactory

2005-04-18 Thread [EMAIL PROTECTED]
Ok, everything is working now. Fixed one thing in AbstractValueMEtaData... in getChildren, actually look to see if value is a valueMetaData, then pass it back. Added test to PlainDependencyTestCase View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3874391#38743

[JBoss-dev] [Design the new POJO MicroContainer] - Re: initializing a GenericBeanFactory

2005-04-18 Thread [EMAIL PROTECTED]
I'll dig further, but another problem Seems that controller and such doesn't get set on the AbstractDependency in the Map sent into th | java.lang.NullPointerException | at org.jboss.beans.metadata.plugins.AbstractDependencyValueMetaData.getValue(AbstractDependencyValueMetaData.java:11

[JBoss-dev] [Design the new POJO MicroContainer] - Re: initializing a GenericBeanFactory

2005-04-18 Thread [EMAIL PROTECTED]
"[EMAIL PROTECTED]" wrote : | I should warn you that I haven't done anything except basic config tests (no injection/dependency tests) on the collections because I was waiting to see | what Alex could handle in the XML mapping. :-( The same is true for the GenericBeanFactory, except there I

[JBoss-dev] [Design the new POJO MicroContainer] - Re: initializing a GenericBeanFactory

2005-04-18 Thread [EMAIL PROTECTED]
It is a bug/typo: AbstractMapMetaData: I just committed the fix... | |public Iterator getChildren() |{ | ArrayList children = new ArrayList(map.keySet()); | - children.add(map.values()); | + children.addAll(map.values()); | return children.iterator