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