Details
-
New Feature
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
-
Patch Available
Description
Support for OSGi bundles as contributions - SCA contributions can be packaged as OSGi bundles where OSGi will bring modularity and versioning to SCA.
Resolution of artifacts in OSGi contribution bundles will be handled by an OSGi runtime (if an OSGi runtime is not present on the classpath, the bundle will be treated as a plain jar). This would mean that classes used in < implementation.java/> and interfaces etc. will be loaded using standard OSGi resolution mechanisms, enabling different versions of classes to be loaded into a domain (there is also better isolation because each bundle has its own classloader). <implementation.osgi/> can use SCA bundle contributions as their implementation artifact, and can also refer to nested bundles inside contributions.
<implementation.osgi/> will now use the symbolic name and version of the bundle instead of its location URL, and the bundle will be located by Tuscany from the contributions.