On 19 Dec 2013, at 16:29 , Per-Erik Svensson <[email protected]> wrote:

> Going to the extreme, why not publish all services as "Object" and
> filter on "class=org.acme.MyClass”.

This is almost already what happens behind the scenes, but the property is not 
called “class” but “objectclass” (and I think its value is (always) an array of 
strings).

The only thing that OSGi does extra for you is to check if the instance you 
supply actually is an instance of the interfaces (or classes) that you list.

Greetings, Marcel


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to