Uploaded image for project: 'Tuscany'
  1. Tuscany
  2. TUSCANY-1701

Support for OSGi Contribution bundles

    XMLWordPrintableJSON

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.

      Attachments

        1. modules-contribution-java-patch.txt
          3 kB
          Rajini Sivaram
        2. contribution-osgi.zip
          566 kB
          Rajini Sivaram
        3. modules-osgi-implementation-patch.txt
          135 kB
          Rajini Sivaram
        4. itest-osgi-implementation-patch.txt
          531 kB
          Rajini Sivaram
        5. samples-osgi-supplychain-patch.txt
          47 kB
          Rajini Sivaram

        Activity

          People

            rfeng Zhaohui Feng
            rsivaram Rajini Sivaram
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: