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
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
"[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
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