kwin commented on pull request #20: URL: https://github.com/apache/sling-org-apache-sling-jcr-resource/pull/20#issuecomment-1014614016
> a concurrent collection could be used as the base IMHO I need to use the option "Replace Field" as otherwise the order is not ensured (http://docs.osgi.org/specification/osgi.cmpn/7.0.0/service.component.html#service.component-reference.field.option) > event methods with a custom collection could be implemented I don't think a custom collection can be used for Field injection with the replace field option or am I missing something here. > you can get the ServiceReference as one argument and easily sort based on that one (it is comparable) This would require a similar implementation as in `RankedServices`. Would you be fine with embedded that class (to prevent the extra dependency)? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
