You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@felix.apache.org by David Feliot <da...@scalagent.com> on 2011/10/18 17:13:30 UTC
Declarative services: reference target not seen by distribution provider
Hi,
The OSGi Remote Services specification describes a mechanism enabling a
distribution provider to detect when a bundle is listening for specific
services. This is explained in the enterprise specification, section
13.2.3 in the release 4, version 4.2 (March 2010). There is an
interesting example in this section showing that the distribution
provider can detect the intents required by the service consumer:
(&(objectClass=com.acme.Foo)(service.intents=confidentiality))
However, it seems that Felix Declarative Services does not transmit the
'target' filter declared in a reference. Only the property 'objectClass'
seems to be used by the ServiceListener. As a consequence the
distribution provider cannot be aware of the 'target' filter.
Is there a reason why the 'target' filter is not passed?
How can a component specify intents (or any other property) for a reference?
Regards,
David.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org