Jason Carreira wrote:

Well, I've heard nothing but good things about your code, Joe, so how
about we make a deal? You come and put Pico/Nano into Xwork, and we'll
try to pull you in to help with other stuff too :-)

Seriously, I love the idea of replacing the IoC stuff in Xwork with
Picocontainer.


One question I was wondering about... What if your component depends on
more than one external service / component? Can you have a multiple
param constructor?


Yes you can. The only restriction for a component that will live in picocontainer is that it has only one constructor (with an arbitrary number of arguments - 0 or more). The reason being that picocontainer would be confused about what constructor to use for classes that have more than one constructor.

Aslak

Jason



-----Original Message-----
From: Joe Walnes [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 24, 2003 8:37 AM
To: [EMAIL PROTECTED]
Cc: Opensymphony-Webwork ([EMAIL PROTECTED]); '[EMAIL PROTECTED]'
Subject: [OS-webwork] Re: [picocontainer-dev] Picocontainer/Nanocontainer





IMO we should migrate Xwork.



Of course :).

FWIW, Nano already supports WebWork 1. Should be easy to port to XWork/WW2. It is also very useful outside the scope of web projects.

-joe (author of original IoC stuff in WW2 - if you care) ;)



-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php


_______________________________________________
Opensymphony-webwork mailing list [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork




_______________________________________________
picocontainer-dev mailing list
[EMAIL PROTECTED]
http://lists.codehaus.org/mailman/listinfo/picocontainer-dev








-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork

Reply via email to