What's wrong with plain old Java code? That code is probably smaller that your
textual description.
Kind regards,
Peter Kriens
On 11 jan 2011, at 15:07, Martin Petzold wrote:
> Am 11.01.2011 14:59, schrieb Martin Petzold:
>> 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?).
> Nice would be a getServiceReferences(String clazz, Filter filter) with a
> generic Filter interface, so this can be handled flexible. One of them then
> would be LDAP.
> _______________________________________________
> OSGi Developer Mail List
> [email protected]
> https://mail.osgi.org/mailman/listinfo/osgi-dev
_______________________________________________
OSGi Developer Mail List
[email protected]
https://mail.osgi.org/mailman/listinfo/osgi-dev