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
Priority: Minor
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.