If you see my example, I need to use @reference at class level. (Which was possible in SCR)I am able to use it at field level i.e. injecting OSGi service using @reference on a field.
smacdonald2008 Ratna Kumar Thanks for the reply. I have already checked articles you guys suggested. However, I am not able to find suitable annotations and field which were available in scr. Can you answer my specific question?@references and referenceInterface are not supported in R6. How do I re...
I am migrating some SCR annotations based code base to OSGi R6.The current code uses scr annotations and fields which are not available in R6.For example: @references and referenceInterface are not supported in R6@Component@References({ @Reference( referenceInterface = SomeFactory.class, policy ...