Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-dev] How to best document consumed OSGi/DS services?



On Sun, Mar 28, 2021 at 8:01 AM Christoph Läubrich <laeubi@xxxxxxxxxxxxxx> wrote:
I think the most simple aproach would be to makr Interfaces that are
consumed by the Platform with  @ProviderType [1], this could then be
scanned by tools and generate the list you have mentioned automatically.

[1]
https://docs.osgi.org/specification/osgi.core/7.0.0@ProviderTyp/framework.api.html#org.osgi.annotation.versioning

Adding @ProviderType is a good idea.
However, I don't buy the idea that "scanned by tools and generate list" is simpler than maintaining it manually for the moment; unless those tools and generators are already existing. Are they?
--
Mickael Istria
Eclipse IDE developer, for Red Hat Developers

Back to the top