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