>> 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.
I was thinking that Todd's "Pivot kernel" could provide such a UI, and could use Felix under the hood. This would allow us to create something along the lines of Eclipse RCP in Pivot (though we'd obviously want to package this in its own JAR(s) because not all app developers will want to use it). The application Todd mentioned in his previous message (the one that used the extension point API) could have taken advantage of such a framework if it were available at the time. >How do you see annotations being used to declare/define extension points? >Or I have missed the point? Annotations are a way to provide metadata about a class or library, in the same way that XML is often used to do so. However, annotations are a language feature and are easier to access at runtime.
