Hi,

> >>An Eclipse plugin usually has a plugin.xml in
> >>it and this declares extension points and defines which extensions are
> >>provided by the plugin.  The registry watches bundles being installed and
> >>reads the plugin.xml from the bundle if it is available.
>
> This seems like a great use case for annotations. I wonder how Felix
> handles this.


Felix is an implementation of the OSGi spec, so it'll be using the service
registry approach and doesn't provide a UI that I'm aware of.

Ideally an OSGi application should be compatible with Java 1.3 (! ... I
think) but I a lot of people ignore that these days (I certainly do) so that
they can use generics, annotations and so on and it doesn't mean we have to
with Pivot.

How do you see annotations being used to declare/define extension points?
Or I have missed the point?

Hmm, that kind of smells of IOC to me... has Spring integration/support been
considered, perhaps even as an alternative to OSGi?  (Spring and OSGi are
actually compatible technologies, though I have little/no experience with
Spring at the moment)

Cheers,
Chris

Reply via email to