Hello,

I am trying to figure out how two bundles are "wired" together. Bundles can 
import and export packages. As far as I can tell from diving into the code the 
importing and exporting packages are wired together 
(org.apache.felix.framework.resolver.WireImpl) and not the bundles itself. If a 
class is going to be loaded the actual wire is responsible for checking if the 
requested class is in one of the exported packages. Only if the class is in one 
of the exported packages the wire is going to call the exporting bundles class 
loader.

Are those assumption correct?

What I am trying to find out is, who is responsible for checking that only 
class can be imported, that are actually part of a exported package and not of 
the internal implementation (which is hopefully not exported).

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

Reply via email to