[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();
  |}
  | 

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. :-(

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3874381#3874381

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3874381


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-Development mailing list
JBoss-Development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-development


[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 haven't even
done basic config tests.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3874382#3874382

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3874382


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-Development mailing list
JBoss-Development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-development


[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:112)
  | at 
org.jboss.kernel.plugins.config.Configurator.getPropertySetterJoinPoint(Configurator.java:428)
  | at 
org.jboss.kernel.plugins.config.Configurator.getPropertySetterJoinPoint(Configurator.java:405)
  | at 
org.jboss.kernel.plugins.config.AbstractKernelConfigurator.getPropertySetterJoinPoint(AbstractKernelConfigurator.java:106)
  | at 
org.jboss.beans.metadata.plugins.factory.GenericBeanFactory.create(GenericBeanFactory.java:77)
  | at 
org.jboss.test.kernel.AspectTestCase.testDependencyCorrectOrder(AspectTestCase.java:67)
  | 

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3874386#3874386

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3874386


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-Development mailing list
JBoss-Development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-development


[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=bbop=viewtopicp=3874391#3874391

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3874391


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-Development mailing list
JBoss-Development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-development