[picocontainer-scm] [jira] (PICO-396) Allow injecting multiple components via Iterable<S>

"Trejkaz (JIRA)" <jira-yCVjj/[email protected]> Mon, 6 May 2013 00:54:52 -0500 (CDT)
Newsgroups gmane.comp.java.picocontainer.cvs
Message-ID <JIRA.145916.1367819641365.26831.1367819692850@codehaus01.managed.contegix.com>
Trejkaz
created PICO-396

Allow injecting multiple components via Iterable<S>

Issue Type:

Improvement

Assignee:

Paul Hammant

Components:

PicoContainer (Java)

Created:

06/May/13 12:54 AM

Description:

Often a constructor in a component will only copy the collection of objects from the parameter into a collection in the field (commonly using Guava's ImmutableList.copyOf()).

IDEA tends to recommend changing this sort of thing to Iterable, but if I change it to Iterable, PicoContainer says that it doesn't know how to inject that. To meet it half way, I inject it as Collection, but it would be nice if Iterable would work as well.

Project:

PicoContainer

Priority:

Minor

Reporter:

Trejkaz

This message is automatically generated by JIRA.

If you think it was sent incorrectly, please contact your JIRA administrators

For more information on JIRA, see: http://www.atlassian.com/software/jira

----------

To unsubscribe from this list please visit:

http://xircles.codehaus.org/manage_email