Motivation
OSGi is not the only technology out there and we often work in concert with plain Java libraries. In the plain Java World, we have to concept of the ServiceLoader to provide implementations for Services. The current Solution of the SPI-fly, is a workaround but makes it hard for OSGi Applications to adopt modern plain Java or JEE jars.
Proposal
Create an alternative Specification and implementation, that allows the OSGi Framework to support Plain Java Services.
Benefits and Scope
ServiceLoaders are around for a while an can't really be considered new. The OSGi support is poor though and makes working with them a pain. An easier handing, can make the SPI Spec obsolete and help Users to easily adopt OSGi or help OSGi Developers to adopt and safely use existing Java Libraries.
OSGI Issue
ServicerLoader integration osgi/osgi#955
Motivation
OSGi is not the only technology out there and we often work in concert with plain Java libraries. In the plain Java World, we have to concept of the ServiceLoader to provide implementations for Services. The current Solution of the SPI-fly, is a workaround but makes it hard for OSGi Applications to adopt modern plain Java or JEE jars.
Proposal
Create an alternative Specification and implementation, that allows the OSGi Framework to support Plain Java Services.
Benefits and Scope
ServiceLoaders are around for a while an can't really be considered new. The OSGi support is poor though and makes working with them a pain. An easier handing, can make the SPI Spec obsolete and help Users to easily adopt OSGi or help OSGi Developers to adopt and safely use existing Java Libraries.
OSGI Issue
ServicerLoader integration osgi/osgi#955