I have two implementation implementing the same OSGi service interface. I would like to reference a specific implementation inside a Sling Model using the appropriate injector-specific annotation, which is @OSGiService annotation. But how could I reference the specific service implementation?
It is not possible to use SCR within a pojo. But for Sling Models there are possibilities to do it, see [1]. I haven't tried it myself yet, but I guess, it does what you want to do.