Ok, thanks guys for the clarifications. Indeed the picture was not enough ;)
--G 2011/6/8 Neil Bartlett <[email protected]> > Another way to say this is that the upper right corner of A *could* be > part of the class space, if there were any references to those > packages from within the shaded class space... i.e., it's not blocked > or incompatible. > > It just happens that there are no references to it from the class > space so it doesn't need to be included. This is the only difference > between the upper right and lower right parts of A. The diagram is not > sufficiently clear on this point. > > Regards > Neil > > On Wed, Jun 8, 2011 at 10:53 AM, Peter Kriens <[email protected]> > wrote: > > No, class spaces are basically per package ... a class space is not per > class loader but depends on the uses constraints. A class space is basically > a namespace where every name is uniquely mapped to a single source. The > class spaces are defined by the uses constraints. We never sat down for a > good definition so it is not as crisp as I like it to be but the unshaded > part can actually be in another class space, maybe to clarify this we need > to say "a Class Space for Bundle A". > > > > This picture has caused more confusion so maybe we need some more text > and definitions around class spaces. > > > > Kind regards, > > > > Peter Kriens > > > > > > On 8 jun 2011, at 11:44, Guillaume Sauthier (OW2) wrote: > > > >> OK, a bundle can participate in multiple classspace (some of it's > exports > >> being used by others), but it only have 1 (it's own class space), right > ? > >> > >> The schema is misleading: I thought that Bundle A could not access this > >> part. > >> As it was not greyed, it was not in the class space of A. > >> > >> --G > >> > >> > >> 2011/6/8 Peter Kriens <[email protected]> > >> > >>> Because a bundle can participate in multiple class spaces if its > packages > >>> are not referring to each other. > >>> > >>> Kind regards, > >>> > >>> Peter Kriens > >>> > >>> On 8 jun 2011, at 11:25, Guillaume Sauthier (OW2) wrote: > >>> > >>>> Hi all > >>>> > >>>> I was looking at the schema explaining what was a class space in the > core > >>>> spec: > >>>> > >>> > http://docs.jboss.org/osgi/userguide/html_single/images/osgi-classloader.png > >>>> > >>>> I was wondering why the upper-right part of the Bundle A was not part > of > >>> the > >>>> Bundle space ? > >>>> > >>>> Thanks > >>>> --Guillaume > >>>> _______________________________________________ > >>>> OSGi Developer Mail List > >>>> [email protected] > >>>> https://mail.osgi.org/mailman/listinfo/osgi-dev > >>> > >>> > >>> _______________________________________________ > >>> OSGi Developer Mail List > >>> [email protected] > >>> https://mail.osgi.org/mailman/listinfo/osgi-dev > >>> > >> _______________________________________________ > >> OSGi Developer Mail List > >> [email protected] > >> https://mail.osgi.org/mailman/listinfo/osgi-dev > > > > > > _______________________________________________ > > OSGi Developer Mail List > > [email protected] > > https://mail.osgi.org/mailman/listinfo/osgi-dev > > > > _______________________________________________ > OSGi Developer Mail List > [email protected] > https://mail.osgi.org/mailman/listinfo/osgi-dev >
_______________________________________________ OSGi Developer Mail List [email protected] https://mail.osgi.org/mailman/listinfo/osgi-dev
