Rupert Westenthaler created STANBOL-774:
-------------------------------------------

             Summary: Stanbol Bundels that export packages containing service 
interfaces or classes that are referenced in service interfaces need also 
import those packages
                 Key: STANBOL-774
                 URL: https://issues.apache.org/jira/browse/STANBOL-774
             Project: Stanbol
          Issue Type: Sub-task
            Reporter: Rupert Westenthaler


Host Applications that do run Stanbol in an embedded OSGI environment need to 
export all packages of used Interfaces (and all Classes used in those 
Interfaces). This is required to ensure that the java Classes used by Stanbol 
(running within the embedded OSGI environment) are the same as the one 
available to the Host application (see [1] for details).

However Bundles that do not explicitly import packages they export will rather 
user their internal version instead of the version exported by the Host 
application causing the Class version to become incompatible (see [2] for 
details).

[1] 
http://felix.apache.org/site/apache-felix-framework-launching-and-embedding.html#ApacheFelixFrameworkLaunchingandEmbedding-hostserviceusage
[2] 
http://felix.apache.org/site/apache-felix-osgi-faq.html#ApacheFelixOSGiFAQ-Shouldabundleimportitsownexportedpackages?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to