Am 11.01.2011 14:15, schrieb BJ Hargrave:
[...]
>
> I would like to have a filter which matches all local services of an
> Interface AND all remote services of this Interface. BUT if the local
> service is also a remote service (service provider in the same OSGi
> framework) I don't want this to be duplicate (in this case I would like
> to have the local one only). I can't figure it out at the moment, is
> this possible?
>

This is probably more that an ldap filter can handle. You will have to ask for more than you want and then use some code to do a second pass to discard the duplicates.

Okay thanks, thought I had to do this. But I think this is quite uncomfortable from users point of view. Perhaps there should be some additional filtering possibilities for this in the future (next RS specs?).

Martin
_______________________________________________
OSGi Developer Mail List
[email protected]
https://mail.osgi.org/mailman/listinfo/osgi-dev

Reply via email to