Skip to content

Commit

Permalink
Enable SPI/ServiceLoader under OSGi
Browse files Browse the repository at this point in the history
* Using OSGi's Service Loader Mediator (i.e. Apache Aries SPI Fly)
* Made all requirements optional (minimally invasive change)
  • Loading branch information
brevilo authored and andymc12 committed Jul 22, 2021
1 parent 9f91b5f commit d9e1791
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions api/bnd.bnd
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,5 @@ Import-Package: javax.enterprise.context;version="[1.1,3)";resolution:=optional,
javax.inject;resolution:=optional,\
org.eclipse.microprofile.config;version="[2.0,3)";resolution:=optional,\
*
Require-Capability: osgi.extender; filter:="(osgi.extender=osgi.serviceloader.processor)"; resolution:=optional,\
osgi.serviceloader; filter:="(osgi.serviceloader=org.eclipse.microprofile.rest.client.spi.RestClientBuilderResolver)"; resolution:=optional

0 comments on commit d9e1791

Please sign in to comment.