You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@felix.apache.org by Dan J Hrivnak <da...@raytheon.com> on 2009/02/26 19:17:08 UTC
Using org.osgi.framework.system.packages.extra after startup?
I'm working with an embedded instance of Felix, and I was wondering if
it's possible to modify or add to the
org.osgi.framework.system.packages.extra configuration property after
startup. Looking through documentation, it seems this property map
needs to be populated before starting the embedded Felix.
<ma...@Raytheon.com>
Re: Using org.osgi.framework.system.packages.extra after startup?
Posted by Dan J Hrivnak <da...@raytheon.com>.
Oh I see. That sounds like it will do the trick - thank you very much!
--Dan
Richard S. Hall wrote:
> Dan J Hrivnak wrote:
>> Thanks for your quick reply. The problem with that is the packages I
>> want are used in the non-OSGi parts of the system too, so using an
>> empty extension bundle would duplicate all needed packages. Is there
>> no way to dynamically modify the framework system packages?
>
> Perhaps there is some misunderstanding. The bundle is empty except for
> some metadata in its Export-Package header stating which packages from
> the class path should be exported by the system bundle. This results
> in the system bundle being dynamically modified to export those
> packages from the class path.
>
> -> richard
>>
>> Dan
>>
>> Karl Pauls wrote:
>>> You can use an empty extension bundle that only exports the packages
>>> you want to be made available for this iirc.
>>>
>>> regards,
>>>
>>> Karl
>>>
>>> On Thu, Feb 26, 2009 at 7:17 PM, Dan J Hrivnak
>>> <da...@raytheon.com> wrote:
>>>
>>>> I'm working with an embedded instance of Felix, and I was wondering
>>>> if it's
>>>> possible to modify or add to the
>>>> org.osgi.framework.system.packages.extra
>>>> configuration property after startup. Looking through
>>>> documentation, it
>>>> seems this property map needs to be populated before starting the
>>>> embedded
>>>> Felix.
>>>>
>>>> <ma...@Raytheon.com>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>>
>>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
> For additional commands, e-mail: users-help@felix.apache.org
>
>
Re: Using org.osgi.framework.system.packages.extra after startup?
Posted by "Richard S. Hall" <he...@ungoverned.org>.
Dan J Hrivnak wrote:
> Thanks for your quick reply. The problem with that is the packages I
> want are used in the non-OSGi parts of the system too, so using an
> empty extension bundle would duplicate all needed packages. Is there
> no way to dynamically modify the framework system packages?
Perhaps there is some misunderstanding. The bundle is empty except for
some metadata in its Export-Package header stating which packages from
the class path should be exported by the system bundle. This results in
the system bundle being dynamically modified to export those packages
from the class path.
-> richard
>
> Dan
>
> Karl Pauls wrote:
>> You can use an empty extension bundle that only exports the packages
>> you want to be made available for this iirc.
>>
>> regards,
>>
>> Karl
>>
>> On Thu, Feb 26, 2009 at 7:17 PM, Dan J Hrivnak
>> <da...@raytheon.com> wrote:
>>
>>> I'm working with an embedded instance of Felix, and I was wondering
>>> if it's
>>> possible to modify or add to the
>>> org.osgi.framework.system.packages.extra
>>> configuration property after startup. Looking through
>>> documentation, it
>>> seems this property map needs to be populated before starting the
>>> embedded
>>> Felix.
>>>
>>> <ma...@Raytheon.com>
>>>
>>>
>>>
>>>
>>>
>>
>>
>>
>>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org
Re: Using org.osgi.framework.system.packages.extra after startup?
Posted by Dan J Hrivnak <da...@raytheon.com>.
Thanks for your quick reply. The problem with that is the packages I
want are used in the non-OSGi parts of the system too, so using an empty
extension bundle would duplicate all needed packages. Is there no way
to dynamically modify the framework system packages?
Dan
Karl Pauls wrote:
> You can use an empty extension bundle that only exports the packages
> you want to be made available for this iirc.
>
> regards,
>
> Karl
>
> On Thu, Feb 26, 2009 at 7:17 PM, Dan J Hrivnak
> <da...@raytheon.com> wrote:
>
>> I'm working with an embedded instance of Felix, and I was wondering if it's
>> possible to modify or add to the org.osgi.framework.system.packages.extra
>> configuration property after startup. Looking through documentation, it
>> seems this property map needs to be populated before starting the embedded
>> Felix.
>>
>> <ma...@Raytheon.com>
>>
>>
>>
>>
>>
>
>
>
>
Re: Using org.osgi.framework.system.packages.extra after startup?
Posted by Karl Pauls <ka...@gmail.com>.
You can use an empty extension bundle that only exports the packages
you want to be made available for this iirc.
regards,
Karl
On Thu, Feb 26, 2009 at 7:17 PM, Dan J Hrivnak
<da...@raytheon.com> wrote:
> I'm working with an embedded instance of Felix, and I was wondering if it's
> possible to modify or add to the org.osgi.framework.system.packages.extra
> configuration property after startup. Looking through documentation, it
> seems this property map needs to be populated before starting the embedded
> Felix.
>
> <ma...@Raytheon.com>
>
>
>
>
--
Karl Pauls
karlpauls@gmail.com
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org