Code: @Reference(cardinality = ReferenceCardinality.MULTIPLE, policyOption = ReferencePolicyOption.GREEDY) public void setWorkerComponentService(WorkerComponentService workerComponentService) { this.allComponents.put(workerComponentService.getComponentService().componentType().getType(), workerComponentService); LOG.info("Found component " + workerComponentService.getComponentService().componentType()); }
scr:details: References Reference : WorkerComponentService State : satisfied Multiple : multiple Optional : optional Policy : static Service Reference : Bound Service ID 147 (com.basistech.ws.worker.rbl.BaseLinguisticsComponentServiceImpl) Service Reference : Bound Service ID 148 (com.basistech.ws.worker.mockpnm.MockPairwiseNameMatchingService) Service Reference : Bound Service ID 154 (com.basistech.ws.worker.mocknametranslation.impl.MockNameTranslationService) Service Reference : Bound Service ID 155 (com.basistech.ws.sdk.mockrli.impl.MockRliComponentServiceImpl) --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@felix.apache.org For additional commands, e-mail: users-h...@felix.apache.org