Referencing a specific service implementation inside Sling Model using injector-specific annotation
Hi,
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?
If I was coding an OSGi component I would use the @Reference annotation and specify the property "target" as described here: https://edivad.wordpress.com/2013/08/11/cq5osgi-reference-a-unique-service-implementation/
Thank you!
