You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Clement Escoffier (JIRA)" <ji...@apache.org> on 2009/05/16 11:16:45 UTC

[jira] Work started: (FELIX-1159) iPOJO instance declaration should be able to select the Factory version

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

Work on FELIX-1159 started by Clement Escoffier.

> iPOJO instance declaration should be able to select the Factory version
> -----------------------------------------------------------------------
>
>                 Key: FELIX-1159
>                 URL: https://issues.apache.org/jira/browse/FELIX-1159
>             Project: Felix
>          Issue Type: Improvement
>          Components: iPOJO
>    Affects Versions: iPOJO-1.2.0
>            Reporter: Clement Escoffier
>            Assignee: Clement Escoffier
>   Original Estimate: 0h
>  Remaining Estimate: 0h
>
> Currently, when declaring an instance, the factory is only selected by its name. This can be tricky when several version are available. 
> iPOJO instance declaration should support a 'version' attribute specifying the required version (exact match). This attribute will be exposed by the factory service (if specified in its declaration). So this will result into something like:
> <component classname="..." version="1.0.0" .../>
> and
> <instance component="..." version="1.0.0" .../>
> Be aware that this feature is not compatible with the configuration admin that select the ManagedServiceFactory based on its PID (i.e. factory name).
> This request for feature comes from the following mail:
> http://www.nabble.com/iPojo---How-to-create-several-instances-of-the-same-component-installed-in-different-versions-tp23544877p23544877.html

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.