Uploaded image for project: 'Felix'
  1. Felix
  2. FELIX-5916

Felix Framework - dependency on org.apache.felix.resolver

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Invalid
    • framework-6.0.0
    • None
    • Framework
    • None

    Description

      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 "org.apache.felix.resolver.Logger" 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.

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            tom@phinneyridge.com Tom Rutchik
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: