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 2010/02/01 21:08:18 UTC
[jira] Resolved: (FELIX-2019) The Property value is 'null' in the
Architecture description, while the value is well assigned to the
component's field.
[ https://issues.apache.org/jira/browse/FELIX-2019?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Clement Escoffier resolved FELIX-2019.
--------------------------------------
Resolution: Fixed
Fix Version/s: iPOJO-1.6.0
Assignee: Clement Escoffier
Fixed at revision 905398.
Thanks for this report.
> The Property value is 'null' in the Architecture description, while the value is well assigned to the component's field.
> ------------------------------------------------------------------------------------------------------------------------
>
> Key: FELIX-2019
> URL: https://issues.apache.org/jira/browse/FELIX-2019
> Project: Felix
> Issue Type: Bug
> Components: iPOJO
> Affects Versions: iPOJO-1.4.0
> Reporter: Debbabi Bassem
> Assignee: Clement Escoffier
> Priority: Minor
> Fix For: iPOJO-1.6.0
>
>
> Here is my simple Component :
> public class MyServiceImpl implements MyService {
> private long someAttribut;
> public void doSomething() {
> // TODO Auto-generated method stub
> }
> }
> And its metadata:
> <component classname="fr.liglab.adele.mediators.MyServiceImpl" name="MyServiceImpl">
> <provides>
> <property name="attribut" field="someAttribut" value="2000"/>
> </provides>
> </component>
> <instance component="MyServiceImpl"/>
> When I type 'arch' to see the architecture description of my instance, I get the following result:
> instance name="MyServiceImpl-0" component.type="MyServiceImpl" state="valid" bundle="15"
> handler name="org.apache.felix.ipojo:provides" state="valid"
> provides service.id="69" state="registered" specifications="[fr.liglab.adele.mediators.MyService]"
> property name="attribut" value="null"
> property name="factory.name" value="MyServiceImpl"
> property name="instance.name" value="MyServiceImpl-0"
> handler name="org.apache.felix.ipojo:architecture" state="valid"
> We notice that the "attribut" property has "null" value.
> But on the service properties, the value is "2000" and not "null".
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.