felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Clement Escoffier (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (FELIX-4052) Instance declaration not created correctly when using @Instantiate if the @Component specifies a name
Date Tue, 28 May 2013 04:10:36 GMT

     [ https://issues.apache.org/jira/browse/FELIX-4052?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Clement Escoffier closed FELIX-4052.
------------------------------------


Fixed in the 1.10.0 release of the iPOJO manipulator
                
> Instance declaration not created correctly when using @Instantiate if the @Component
specifies a name
> -----------------------------------------------------------------------------------------------------
>
>                 Key: FELIX-4052
>                 URL: https://issues.apache.org/jira/browse/FELIX-4052
>             Project: Felix
>          Issue Type: Bug
>          Components: iPOJO
>    Affects Versions: ipojo-manipulator-1.8.6
>            Reporter: Clement Escoffier
>            Assignee: Clement Escoffier
>             Fix For: ipojo-manipulator-1.10.0
>
>
> The instance declaration is incorrect when a component is using the "name" attribute
and an instance is declared using the @Instantiate annotation such as in:
>     @Component(name="my-custom-name)
>     @Instantiate
>     public class MyComponent {
>         //...
>     }
> The instance is declared by is looking for a factory with the component's classname (the
default) as factory name, and so the declaration is never bound. In this case the instance
must look for the factory with the specified name.

--
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

Mime
View raw message