Hi Alex, You want to provide a filter I guess ?
@Reference doesn't support filter for now. However, you can use DS annotation (supporting filter) or directly lookup the service via the bundle context.
Regards JB On 04/26/2016 08:55 PM, Alex Soto wrote:
Hello, I am creating a Karaf command into which I need a service injected. I understand that I need to use the annotation @Reference, but in my case I have different services with the same class, so I need to be able to specify a filter; however, the @Reference annotation does not have any property for this purpose, so how is it done? Best regards, Alex soto
-- Jean-Baptiste Onofré [email protected] http://blog.nanthrax.net Talend - http://www.talend.com
