You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Jackson, Bruce" <br...@qualcomm.com> on 2010/04/29 16:09:38 UTC

org.osgi.framework.system.packages

Does anyone know which file actually processes the parameters
org.osgi.framework.system.packages and
org.osgi.framework.system.packages.extra?

Thanks

Bruce


Re: org.osgi.framework.system.packages

Posted by "Richard S. Hall" <he...@ungoverned.org>.
On 4/29/10 10:27, Jackson, Bruce wrote:
> Yes, that's what I meant, thank you. This is obviously used by the class
> loader to allow access to packages outside of the java.* namespace. Do you
> also happen to know where this is read from the ExtensionManager (i.e. what
> parses the comma seperated list of packages and determines what is available
> to bundles)?
>    

Nothing technically "determines" which packages are available, it is 
just a property set in the default.properties file inside the framework 
JAR file (or overridden by the user using the appropriate properties). 
The extension manager loads the default system packages if none were 
specified in the framework configuration. The processing of the 
properties uses variable substitution to determine on which JRE you are 
executing and then select the appropriate list of packages.

If you are actually interested in the parsing of that header, parsing 
occurs in ManifestParser.java.

-> richard

> Thanks
>
> Bruce
>
> On 29/04/2010 15:19, "Richard S. Hall"<he...@ungoverned.org>  wrote:
>
>    
>> On 4/29/10 10:09, Jackson, Bruce wrote:
>>      
>>> Does anyone know which file actually processes the parameters
>>> org.osgi.framework.system.packages and
>>> org.osgi.framework.system.packages.extra?
>>>
>>>        
>> If you are talking about inside the framework, it is in
>> ExtensionManager.java...
>>
>> ->  richard
>>
>>      
>>> Thanks
>>>
>>> Bruce
>>>
>>>
>>>        
>    

Re: org.osgi.framework.system.packages

Posted by "Jackson, Bruce" <br...@qualcomm.com>.
Yes, that's what I meant, thank you. This is obviously used by the class
loader to allow access to packages outside of the java.* namespace. Do you
also happen to know where this is read from the ExtensionManager (i.e. what
parses the comma seperated list of packages and determines what is available
to bundles)?

Thanks

Bruce

On 29/04/2010 15:19, "Richard S. Hall" <he...@ungoverned.org> wrote:

> On 4/29/10 10:09, Jackson, Bruce wrote:
>> Does anyone know which file actually processes the parameters
>> org.osgi.framework.system.packages and
>> org.osgi.framework.system.packages.extra?
>>    
> 
> If you are talking about inside the framework, it is in
> ExtensionManager.java...
> 
> -> richard
> 
>> Thanks
>> 
>> Bruce
>> 
>>    


Re: org.osgi.framework.system.packages

Posted by "Richard S. Hall" <he...@ungoverned.org>.
On 4/29/10 10:09, Jackson, Bruce wrote:
> Does anyone know which file actually processes the parameters
> org.osgi.framework.system.packages and
> org.osgi.framework.system.packages.extra?
>    

If you are talking about inside the framework, it is in 
ExtensionManager.java...

-> richard

> Thanks
>
> Bruce
>
>