Hi,

we usually do not include the annotations in the implementation bundle as the annotations are only used at build time and are not needed at runtime.

Regards
Carsten

On 31.01.2025 18:30, Frédéric Fays wrote:
So far the org.apache.felix.configadmin bundle up to version 1.9.26 is
implementing and exporting the org.osgi.service.cm package solely.

However in the OSGi 8 specifications, the
org.osgi.service.cm.annotations package is defined as well, cf.
https://docs.osgi.org/specification/osgi.cmpn/8.1.0/service.cm.html#org.osgi.service.cm.annotations.RequireConfigurationAdmin
And it should have the
org.osgi.service.cm.annotations.RequireConfigurationAdmin annotation
implementation.

Would it be possible to add RequireConfigurationAdmin annotation
implementation, along with an additional "Export-Package:
org.osgi.service.cm.annotations" directive in the MANIFEST.MF file to
the next release of org.apache.felix.configadmin bundle?

Regards,

Frederic Fays

PS. If you wish to see an example implementation, please have a look to
https://github.com/osgi/osgi/blob/r8-core-final/org.osgi.service.cm/src/org/osgi/service/cm/annotations/RequireConfigurationAdmin.java

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@felix.apache.org
For additional commands, e-mail: users-h...@felix.apache.org


--
Carsten Ziegeler
Adobe
cziege...@apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@felix.apache.org
For additional commands, e-mail: users-h...@felix.apache.org

Reply via email to