Hi,
Cross-posting because I don't know if the situation/problem below is by
design, a bug in bnd, or a bug in SCR
I have a R6 component that does
@Reference(cardinality = ReferenceCardinality.AT_LEAST_ONE)
This appears to not bind new matching services, because the policy
appears to be STATIC by default.
I did expect the ReferenceCardinality.AT_LEAST_ONE to imply
ReferencePolicy.DYNAMIC, just like the bnd annotations did.
Changing it to
@Reference(policy = ReferencePolicy.DYNAMIC, cardinality =
ReferenceCardinality.AT_LEAST_ONE)
appears to make it work like I expected.
Is this by design?
Coming from bnd annotations this - to me - seems like another (breaking)
subtlety.
--
Ferry Huberts
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@felix.apache.org
For additional commands, e-mail: users-h...@felix.apache.org