OSGi-based Tuscany runtime
--------------------------

                 Key: TUSCANY-1897
                 URL: https://issues.apache.org/jira/browse/TUSCANY-1897
             Project: Tuscany
          Issue Type: Improvement
          Components: Java SCA OSGi Integration
            Reporter: Rajini Sivaram


The attached patch provides support for running Tuscany runtime inside OSGi. 

Tuscany bundle activator sets the thread context classloader, and the 
classloader used for service discovery. Both are set to a bundle classloader 
which uses OSGi bundle API to resolve classes.

The patch does not add bundle manifest entries into the Tuscany jars created by 
"distribution".  At the moment, OSGi bundles are created inside 
itest/osgi-tuscany. A set of tests have been added to verify these bundles. 

Tuscany is currently built as five bundles (API, SPI, Runtime, Extensions and 
3rd party code). The dependencies across the bundles are hardcoded (these will 
be modified later to use maven-bundle-plugin wherever possible).

The purpose of these tests are:

1. Verify classloader-based isolation across Tuscany "bundles" introduced 
recently.
2. Provide a testbed to build and test bundle-ized Tuscany. The Tuscany 
extensions bundle and 3rd party bundle should be split into smaller chunks.
3. Provide OSGi-based Tuscany bundles to build a reference implementation for 
Distributed-OSGi based on Tuscany.


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to