Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9013787
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T03:21:18+00:00 2026-06-16T03:21:18+00:00

I have been working with OSGi for a while now, but I still don’t

  • 0

I have been working with OSGi for a while now, but I still don’t understand something about private packages.

  • An exported package is a package with is visible to other bundles
  • An imported package is a package which is imported by a bundle exporting the package.
  • A private package is a package which is not visible to other bundles (I don’t get this)

Aren’t all bundle packages which are not exported invisible to all other packages? If so, what’s the difference to private packages and packages which are not exported?

I’ve read OSGi in Action and “OSGi and Apache Felix 3.0 – Beginners Guide”, but i was not able to find the difference.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-16T03:21:19+00:00Added an answer on June 16, 2026 at 3:21 am

    Yes, all packages not defined in the manifest.mf entry Export-Package are private packages. You don’t need to specify them seperately, it’s just another term for the ease of communication.

    If you have your manifest generated as for example by the maven-bundle-plugin, this term get’s a little more relevant, because the maven bundle plugin will per default export all packages, except for example a package called internal (or subpackages of that). This is somehow the inverse approach since you specify the private packages and have the exported package calculated. See the maven bundle plugin for details.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have been working on an app for a couple of months now, but
Have been working in Ruby for a while, but usually in the context of
I have been working on an application in Xcode for a while now and
I have been working on a widet for a while now and I have
I have been working on getting my OSGi application to run outside eclipse. It
I have been working with SQL Server as a Developer a while. One thing
I have been working on a project on and off, but I haven't touched
I have been working with Zend for a few months now and am at
I have been working with this for a whole day but i cannot find
I have been working with jquery-ui's sortable demo for a while. On looking closely,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.