Hi Sahoo,

On 16.02.2010 18:30, Sahoo wrote:
> When I look at the details about a bundle using Felix web console (I am
> on version 2.0.6), I see some entries under the header "Importing
> Bundles," which I don't understand. To give an example, for bundle #77,
> I see the following:
> 
> Imported Packages: javax.security.jacc, version=1.4.0 from
> org.glassfish.javax.security.jacc (38)
> 
> So, I am hoping to see bundle #77 being listed as an "Importing Bundle"
> for 38, but I don't see it. For #38, I see the following importing bundles:
> 
> Importing Bundles: org.glassfish.ejb.ejb-container (207)
> org.glassfish.security (53)
> 
> Is this a bug in the way "Importing Bundles" are calculated? If not, how
> do I interpret "Importing Bundles?"

You are correct in your assumptions about what the correspondence of
"Imported Packages" and "Importing Bundles" means - at least this is the
idea/design behind the implementation.

Unless there really is a bug (I do not exclude this possibilty at all),
I can see only one reason: If bundle #77 is not resolved, the imports
and exports are hypothetical in that "Imported Package" list is built
from the Import-Package statement and the PackageAdmin service is asked
for a potential import.

Since the bundle is not resolved, the framework has no actual wire and
thus the provider bundle has no importer listed.

Or could it be that there are any un-refreshed bundle updates ? (this is
wild guessing, of course).

Regards
Felix

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to