You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Tom Rutchik (JIRA)" <ji...@apache.org> on 2018/08/23 20:20:00 UTC
[jira] [Created] (FELIX-5916) Felix Framework - dependency on
org.apache.felix.resolver
Tom Rutchik created FELIX-5916:
----------------------------------
Summary: Felix Framework - dependency on org.apache.felix.resolver
Key: FELIX-5916
URL: https://issues.apache.org/jira/browse/FELIX-5916
Project: Felix
Issue Type: Improvement
Components: Framework
Affects Versions: framework-6.0.0
Reporter: Tom Rutchik
Here's an observation:
the Felix framework has a dependence on "org.apache.felix.resolver". If one embeds the felix framework they must also embed the jar containing "org.apache.felix.resolver.
It's not necessary a bad thing, but the only reason it needs that jar is because it the framework Logger class extends "org.apache.felix.resolver.Logger". (Hopefully, I'm not get this wrong, but that's all that it looks like to me.) This Logger class only imports "org.osgi.resource.Resource" which is contained in the Framework jar.
So if you moved the "{color:#333333}org.apache.felix.resolver.Logger{color}" class contained in the resolver jar to the framework jar then all anyone needs to embed the felix framework into their app is just the framework jar. That's probably a cleaner organization. That's all that one needed to do in the 5.6.10 version. (Albeit, there might be a dependency on "org.osgi.annotation"; I don't remember for sure). That then makes the resolver just another bundle added to the framework.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)