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 2008/07/14 20:44:32 UTC

[jira] Resolved: (FELIX-635) Simplify factory name computation

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

Clement Escoffier resolved FELIX-635.
-------------------------------------

    Resolution: Fixed

Fixed in the revision 676672
Simplifies factory name computation. Be aware that the factory attribute is no more supported and is replaced by the public attribute or the name attribute. The factory name is now computed as following:
if name not null use this, otherwise use the classname.
The factory advertising is now set with the public attribute (true by default).


> Simplify factory name computation
> ---------------------------------
>
>                 Key: FELIX-635
>                 URL: https://issues.apache.org/jira/browse/FELIX-635
>             Project: Felix
>          Issue Type: Bug
>          Components: iPOJO
>    Affects Versions: iPOJO-0.8.0
>            Reporter: Clement Escoffier
>            Assignee: Clement Escoffier
>   Original Estimate: 0h
>  Remaining Estimate: 0h
>
> The factory name is computed by using the name attribute, the factory attribute and the implementation class name. The factory attribute has a strange role as it can indicate both the factory name and the factory advertising (public or private). 
> The factory attribute should not be used. In fact, a cleanest way to compute the factory name would be : 
>  - use name if specified, class name otherwise
>  - use a (new) "public" attribute specifying if the factory is accessible by other bundles (public="true", default case) or not (public="false")  

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