felix-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Clement Escoffier <clement.escoff...@gmail.com>
Subject Re: iPOJO: service property for an instance
Date Fri, 18 Nov 2011 10:28:30 GMT
Hi,

Both service properties and properties are configurable from the instance level.

Regards,

Clement


On 15.11.2011, at 14:00, David Feliot wrote:

> iPOJO enables to propagate an instance property to the provided services but is it possible
to assign a service property at the instance level? For example, it could be useful to assign
a different value to the property "service.exported.intents" depending on the component instance
and the service interface. But it seems that one has to choose between service and instance
configuration levels. They seem to be exclusive.
> 
> For example:
> 
> <component name="A" ...>
> <properties propagation="true"/>
> <provides specifications="S1">
> <property name="service.exported.intents" type="..." value="..."/>
> </provides>
> <provides specifications="S2">
> <property name="service.exported.intents" type="..." value="..."/>
> </provides>
> </component>
> 
> <instance component="A">
> <property name="service.exported.intents" type="..." value="..." />
> </instance>
> 
> Is it correct?
> 
> Regards,
> David
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
> For additional commands, e-mail: users-help@felix.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org


Mime
View raw message