felix-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Feliot <david.fel...@scalagent.com>
Subject Declarative services: reference target not seen by distribution provider
Date Tue, 18 Oct 2011 15:13:30 GMT

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:

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?


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

View raw message