Hi,

I'm trying to get an overview over the effects of different combinations of
cardinality, policy and policyOption within a @Reference annotation for a
field.

My Example looks like this:

@Component
public class MyComp{
  @Reference(...)
  ITest myTest;

  @Reference(...)
  List<ITest> myTests;
}

and the observed behavior for this setup with different combinations of the
above named properties is:
[image: image.png]

I'm especially interested in the yellow marked cases: Is this an intended
behavior?

Kind regards,
Thomas
_______________________________________________
OSGi Developer Mail List
osgi-dev@mail.osgi.org
https://mail.osgi.org/mailman/listinfo/osgi-dev

Reply via email to