[picocontainer-dev] RE: [picocontainer-scm] [jira] Commented: (PICO-322) Cannot instantiate objects that have an specific collection in their constructor.
"Michael Rimov" <[email protected]> Wed, 16 Jul 2008 09:25:56 -0700
| Newsgroups | gmane.comp.java.picocontainer.devel |
|---|---|
| Organization | Centerline Computers, Inc |
| Message-ID | <016001c8e760$a39692d0$eac3b870$@com> |
> [ http://jira.codehaus.org/browse/PICO-
> 322?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-
> tabpanel&focusedCommentId=142022#action_142022 ]
>
> Joerg Schaible commented on PICO-322:
> -------------------------------------
>
> The old collection functionality did only collect if no matching type was
> already available as component i.e. you could register a String[] and five
> different Strings ... a component with a dependency to a String[] would
> have received the registered array, but not the 5 Strings. Only if no array
> was available, the five strings were provided as array to the component.
Just to clarify my comment on Jira.... what Joerg is saying is what I want :D
(I was replying to Paul in comments, and only afterwards saw this comment :) )
-Mike
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email