[
https://issues.apache.org/jira/browse/FELIX-2993?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13050443#comment-13050443
]
Andrei Pozolotin commented on FELIX-2993:
-----------------------------------------
I think I've got a better idea :-)
(from the embedder point of view)
I suggest:
1) break down osgi compendium into subset api bundles which address only
specific part of osgi spec;
for exaple: one for framework security, one for event admin, etc
these "api bundles" will only export interfaces & support classes
2) along with current "monolithic bundles" (which carry both api and impl) you
have for framework security, for event admin, etc,
start producing "embedder friendly, reduced" bundles, which do NOT carry osgi
spec api, and instead
expect to import corresponding osgi api from some other external provider (such
as embedders' framwork host);
3) in this way an embedder can carry osgi api within the framework host (say,
security api, events api),
and export these osgi api for the "reduced bundles" (which might not be
present);
this allows an embedder to make RUN-time, NOT build-time decision whether to
load or not: security or events, etc bundle,
and still be able to use security and events inside the embedder host if the
provider bundle is present;
so this suggestion is basically a more flexible way to deal with:
http://felix.apache.org/site/apache-felix-framework-launching-and-embedding.html#ApacheFelixFrameworkLaunchingandEmbedding-hostserviceusage
"the fact that both the host application and the bundle must be using the same
class definitions for the service interface classes"
> jnlp & felix.security
> ---------------------
>
> Key: FELIX-2993
> URL: https://issues.apache.org/jira/browse/FELIX-2993
> Project: Felix
> Issue Type: Bug
> Components: Framework Security
> Reporter: Andrei Pozolotin
>
> original thread:
> http://www.mail-archive.com/[email protected]/msg10424.html
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira