Composite should support instance configuration
-----------------------------------------------
Key: FELIX-2746
URL: https://issues.apache.org/jira/browse/FELIX-2746
Project: Felix
Issue Type: Improvement
Components: iPOJO
Reporter: Clement Escoffier
Fix For: iPOJO-1.8.0
Composites do not propagate the instance configuration.
It should be done in order to configure sub-instances and services using
composite properties.
The approach is quite simple. The composite instance configuration can be just
appended to the instance and service configurations. This would allow
overridding properties using composites too such as in:
{code}
<composite name="MySuperComposite">
<instance component="my.jdbc.consumer.impl">
<property name="db.url" value="default-value"/>
</instance>
<instance component="my.other.jdbc.consumer.impl">
<property name="db.url" value="default-value"/>
</instance>
</composite>
<instance component="MySuperComposite" name="msc1">
<property name="db.url" value="jdbc://oracle..."/>
</instance>
{code}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.