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] Resolved: (FELIX-996) Arch -factory command always prints out one component factory
Date Tue, 24 Mar 2009 08:21:50 GMT

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

Clement Escoffier resolved FELIX-996.

    Resolution: Fixed

Fixed at revision 757684.

Now, 'arch -factory xxx' will display facotry description as follows:
description of xxx (1)
[empty line]
description of xxx (2)

However having several times the same factory name can lead to issue with the configuration
admin. Indeed the factory name is used as service.pid of exported ManagedServiceFactory. So,
if the configuration admin find several Managed Service Factories matching with the configuration
factory service PID, only the first one (get by the config admin) should receive the configuration.

> Arch -factory  command always prints out one component factory
> --------------------------------------------------------------
>                 Key: FELIX-996
>                 URL: https://issues.apache.org/jira/browse/FELIX-996
>             Project: Felix
>          Issue Type: Improvement
>          Components: iPOJO
>    Affects Versions: iPOJO-1.2.0
>         Environment: iPOJO 1.2.0, Sun jdk 1.6
>            Reporter: James Kingsbery 
>            Assignee: Clement Escoffier
>            Priority: Minor
> In iPOJO, it is possible to define multiple Component Factories of the same name (for
example, if you have two different versions of the same bundle), but the "arch -factory <name>"
command only prints out one. 
> It isn't clear to me from the documentation what should happen in this case: should iPOJO
not let there exist multiple component factories of the same name? If so, then "arch -factory
<name>" should print them all out. This can be accomplished by removing the "return"
statement in the printFactory() method in org.apache.felix.ipojo.arch.ArchCommandImpl.

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

View raw message