[picocontainer-scm] [jira] Commented: (PICO-368) The 'into' parameter of the implemented getComponentInstance method of a FactoryInjector subclass is always org.picocontainer.ComponentAdapter$NOTHING

"Paul Hammant (JIRA)" <jira-yCVjj/[email protected]>
Newsgroups gmane.comp.java.picocontainer.cvs
Message-ID <19667189.49047.1262249695207.JavaMail.haus-jira@codehaus01.managed.contegix.com>
    [ http://jira.codehaus.org/browse/PICO-368?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=204691#action_204691 ] 

Paul Hammant commented on PICO-368:
-----------------------------------

awesome work. will apply later.  what's your need in respect of a release ?

> The 'into' parameter of the implemented getComponentInstance method of a FactoryInjector subclass is always org.picocontainer.ComponentAdapter$NOTHING
> ------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: PICO-368
>                 URL: http://jira.codehaus.org/browse/PICO-368
>             Project: PicoContainer
>          Issue Type: Bug
>          Components: PicoContainer (Java)
>    Affects Versions: 2.9
>         Environment: Windows Vista Business 64bit, Eclipse Galileo, Java 1.6.0_17 (64-bit)
>            Reporter: Johan Hoogenboezem
>         Attachments: TestInjector-2.zip, TestInjector.zip
>
>
> Run the TestInjector test case in the attached Eclipse project to see the test fail. The output contains more information.
> It seems that the "into" parameter of the getComponentInstance method of a FactoryInjector subclass (see AliceFactory in attachment) cannot be used to selectively inject different instances of a component based on the type of the class being injected into; it always resolves to be of type org.picocontainer.ComponentAdapter$NOTHING. 
> This should be possible as inferred from http://www.picocontainer.org/factory-injection.html.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

<hr/>
<p>
To unsubscribe from this list please visit:
</p>
<p>
    <a href="http://xircles.codehaus.org/manage_email">http://xircles.codehaus.org/manage_email</a>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.