>
>
>> Either way, you need some bits specified by someone somewhere to
> differentiate who should be getting what. I am not sure why using service
> properties for such a purpose would be any more or less artificial than any
> other approach.
>
> In your example here, extension A could say, "I will only consume Command
> services with service proprty 'foo'," while B would do something similar for
> service property 'bar'. Either way, someone has to declare this info if you
> want to filter on it.


yes of course I can do it this way. I was just curious if there is a
"better", more structured way in DS or OSGi itself. something similar to
those extension points, like specifying a "target" for my services

-- 
Dmitry Skavish

Reply via email to