Announcement Announcement Module
Collapse
No announcement yet.
default-cardinality bug Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • default-cardinality bug

    Hi,

    I've just discovered that when not speficied otherwise, cardinality for <osgi:set /> is 1..N and not 0..N as per documentation here:
    http://static.springframework.org/osgi/docs/current/reference/html/service-registry.html#service-registry:refs:global-defaults

    Regards
    Jaro

  • #2
    <osgi:set /> default-cardinality bug

    Jaro, the default cardinality is 1..X. The example you mention is used to display how you can change this default (to 0..X for example).
    To quote from the docs:
    If the default is not set, it will have a value of 1..N. In this example, the default value is 0..N. Note the osgi prefix added to the global attribute.
    Hope this helps,
    Costin Leau

    Comment


    • #3
      <osgi:set /> default-cardinality bug

      Appologies, I should have read it more carefully.

      Comment

      Working...
      X