felix-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Jencks <david_jen...@yahoo.com.INVALID>
Subject Re: scr:details reports greedy as static with karaf 4.0.1
Date Fri, 02 Oct 2015 01:23:46 GMT
Well, that’s not too surprising because your reference is indeed static (the default).  Whatever
is producing this report apparently doesn’t know about the policy option so isn’t reporting
it.

david jencks

> On Oct 1, 2015, at 7:54 PM, Benson Margulies <benson@basistech.com> wrote:
> 
> 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-unsubscribe@felix.apache.org
> For additional commands, e-mail: users-help@felix.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org


Mime
View raw message