You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "James Kingsbery (JIRA)" <ji...@apache.org> on 2009/03/23 19:01:51 UTC
[jira] Created: (FELIX-996) Arch command always prints out one
component
Arch command always prints out one component
--------------------------------------------
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
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 -factories" 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 -factories" 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.
[jira] Resolved: (FELIX-996) Arch -factory command always prints
out one component factory
Posted by "Clement Escoffier (JIRA)" <ji...@apache.org>.
[ 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.
[jira] Updated: (FELIX-996) Arch -factory command always prints
out one component factory
Posted by "James Kingsbery (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FELIX-996?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
James Kingsbery updated FELIX-996:
-----------------------------------
Description:
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.
was:
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 -factories" 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 -factories" 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.
Summary: Arch -factory command always prints out one component factory (was: Arch command always prints out one component)
> 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
> 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.
[jira] Updated: (FELIX-996) Arch -factory command always prints
out one component factory
Posted by "Clement Escoffier (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FELIX-996?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Clement Escoffier updated FELIX-996:
------------------------------------
Affects Version/s: (was: iPOJO-1.2.0)
iPOJO-1.4.0
> 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
> Fix For: iPOJO-1.4.0
>
>
> 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.
[jira] Assigned: (FELIX-996) Arch -factory command always prints
out one component factory
Posted by "Clement Escoffier (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FELIX-996?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Clement Escoffier reassigned FELIX-996:
---------------------------------------
Assignee: Clement Escoffier
> 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.
[jira] Updated: (FELIX-996) Arch -factory command always prints
out one component factory
Posted by "Clement Escoffier (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FELIX-996?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Clement Escoffier updated FELIX-996:
------------------------------------
Affects Version/s: (was: iPOJO-1.4.0)
iPOJO-1.2.0
Fix Version/s: iPOJO-1.4.0
> 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
> Fix For: iPOJO-1.4.0
>
>
> 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.