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-unsubscr...@felix.apache.org
For additional commands, e-mail: users-h...@felix.apache.org

Reply via email to