Section 104.4.3 was an "advice", it is not mandatory. It just tried
to establish a model where configuration properties could be used to
create wiring on services. This is applicable for both Managed
Services as well as Managed Service Factories.
So this is just a good practice recommendation. Ignoring this section,
or doing the reverse is ok.
Kind regards,
Peter Kriens
SEH> I submitted a bug report against the iPOJO project related to
SEH> propagation of Configuration Properties as Service Properties:
SEH> iPOJO should automatically propagate configuration properties as
SEH> service properties, per CM spec.
SEH> https://issues.apache.org/jira/browse/FELIX-222
SEH> The discussion that's unfolding there is not really specific to iPOJO,
SEH> so I thought it might be more appropriate to discuss the CM
SEH> specification here.
SEH> Does Section 104.4.3 (Property Propagation) of the CM specification
SEH> apply to both ManagedService and ManagedServiceFactory, or just the
SEH> former per the literal text? It's a little ambiguous because the
SEH> specification says "Managed Service" with a space in between the
SEH> words, so it's not necessarily referring to the actual type
SEH> ManagedService. However, the subsequent reference to the
SEH> single-argument updated(Dictionary) method does tie it only to
SEH> ManagedService.
--
Peter Kriens Tel +33467542167
9C, Avenue St. Drézéry AOL,Yahoo: pkriens
34160 Beaulieu, France ICQ 255570717
Skype pkriens Fax +1 8153772599
_______________________________________________
OSGi Developer Mail List
[email protected]
http://www2.osgi.org/mailman/listinfo/osgi-dev