The properties visible in the Map (or ServiceReference) are the service properties. There is some overlap with configuration (services that are configurable are encouraged to publish configuration properties as service properties) but they are separate, and can be different.
The only way that something becomes a service property is if it is deliberately registered as such or, for a few specific properties such as service.id and service.scope, added automatically by the framework. The class name of the implementation would only be added as a service property if done so deliberately, and this is typically discouraged (it leaks internal implementation detail and forces your internal naming to become API). If you *really* care about the details of a service (and in general you shouldn’t) then you should mark it with a service property that you can recognise. Ideally one that is separate from the other implementation details of the service. Best Regards, Tim > On 22 Aug 2018, at 16:53, Alain Picard via osgi-dev <osgi-dev@mail.osgi.org> > wrote: > > In a reference method, i can get the property configuration of the service > along with the ComponentFactory and some other optional arguments. Can any of > those give me a way to retrieve the implementation from the configuration > (i.e. the class name of the implementation) ? > > Thanks > Alain > > _______________________________________________ > OSGi Developer Mail List > osgi-dev@mail.osgi.org > https://mail.osgi.org/mailman/listinfo/osgi-dev _______________________________________________ OSGi Developer Mail List osgi-dev@mail.osgi.org https://mail.osgi.org/mailman/listinfo/osgi-dev