I have a component with a reference as follows:
@Reference(name="globalMenuItemsProvider",
cardinality=ReferenceCardinality.OPTIONAL_MULTIPLE,
policy=ReferencePolicy.STATIC,
referenceInterface=GlobalMenuItemsProvider.class)
with scr 1.0.6 every service of that interface got injected (and the
component deactivated and reactivated), with scr 1.4.0 the component only
gets the services available when it is activated, services showing up later
are ignored.
I was expecting the behavior as provided by 1.0.6. I've also tried
1.4.1-SNAPSHOT with the same results.
Cheers,
reto