I am trying to integrate simple search in my AEM 6.3.3 instance. We are using the latest OSGI R6 annotations and this codebase has SCR annotations.
It would be helpful if you can provide R6 compatible PredicateResolverImpl code. The current code uses scr annotations and fields which are not available in R6.
For example: @References referenceInterface not supported in R6
Affected guide
I am trying to integrate simple search in my AEM 6.3.3 instance. We are using the latest OSGI R6 annotations and this codebase has SCR annotations.
It would be helpful if you can provide R6 compatible PredicateResolverImpl code. The current code uses scr annotations and fields which are not available in R6.
For example: @References referenceInterface not supported in R6
@Component @References({ @Reference( referenceInterface = PredicateFactory.class, policy = ReferencePolicy.DYNAMIC, cardinality = ReferenceCardinality.OPTIONAL_MULTIPLE) })