Announcement Announcement Module
Collapse

Spring Dynamic Modules forum decommissioned in favor of Eclipse Gemini Blueprint

With the official first release of Eclipse Gemini Blueprint shipped, the migration of the Spring Dynamic Modules code base to the Eclipse Foundation, as part of the Gemini project, has been completed.

As such, this forum has been decommissioned in favour of the Eclipse Gemini forums.
See more
See less
OSGi Collection Listener Called Twice for Phantom Unregistrations Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • OSGi Collection Listener Called Twice for Phantom Unregistrations

    Hey,

    There seems to be a bug in Spring DM 2.0.M1. I have a collection listener defined as such:

    <osgi:set id="activeWorlds" cardinality="0..N" interface="test.World">
    <osgi:listener bind-method="register" unbind-method="unregister" ref="worldRestExporter" />
    </osgi:set>

    When the application is started the unregister method is called twice with null as the parameter. I can't imagine why this happens or what it might mean and I can code around it but it is a little strange.
Working...
X