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
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


Mime
View raw message