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
Useless use of generics in OsgiBundleApplicationContextListener? Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Useless use of generics in OsgiBundleApplicationContextListener?

    Instances of this class can be registered to receive OsgiBundleApplicationContextEvents (different events are represented by different subclasses). Somewhere between Spring DM 1.2 and 2.0 the OsgiBundleApplicationContextListener class appears to have been genericized (OsgiBundleApplicationContextListener<E extends OsgiBundleApplicationContextEvent>) -- but unless there is a way to receive only specific kinds of events, that doesn't seem all that useful (i.e. guaranteed to end with a ClassCastException)? Am I missing something?
Working...
X