Re: [osgi-dev] service from extension bundle?

2013-10-28 Thread Felix Meschberger
Hi Am 27.10.2013 um 18:53 schrieb Raymond Auge raymond.a...@liferay.com: Sigh... too bad! (but I'm glad it's coming). I'm then wondering if DS will scan bundles when extensions attach to them? i.e. a work around for not having start-able extensions would be to use DS components provided

Re: [osgi-dev] service from extension bundle?

2013-10-28 Thread Raymond Auge
Got it! Thanks for the explanation Felix. My use case was this, to provide framework extensions which access the private API of the system bundle (which extension bundles can do) then expose services. This would have worked beautifully. However, temporarily we will have to expose private

Re: [osgi-dev] service from extension bundle?

2013-10-28 Thread Thomas Watson
Perhaps the framework should be able to be configured to have a Service-Component header to allow framework extensions to have service components. Or maybe we can just have the system bundle have a specified Service-Component header by default that allows the searching of fragment component

Re: [osgi-dev] service from extension bundle?

2013-10-28 Thread BJ Hargrave
I am not sure it is a great idea for extenders to attempt to extend the system bundle (and its extension fragments). The point of extension fragments is to place important low level function (for example, subsystem isolation regions) in the system bundle so they are active before any normal

Re: [osgi-dev] service from extension bundle?

2013-10-28 Thread BJ Hargrave
From: Raymond Auge raymond.a...@liferay.com How do I do that? That's effectively what I want. But there doesn't appear to be any way for the extension to actually execute in order to register anything. So the old fashion way is out right now. I think your answer will be: we're working on

Re: [osgi-dev] service from extension bundle?

2013-10-28 Thread Peter Kriens
On 28 okt. 2013, at 14:42, BJ Hargrave hargr...@us.ibm.com wrote: I am not sure it is a great idea for extenders to attempt to extend the system bundle (and its extension fragments). The point of extension fragments is to place important low level function (for example, subsystem isolation

Re: [osgi-dev] service from extension bundle?

2013-10-28 Thread Peter Kriens
If you use the bnd launcher you can put bundles on the -runpath that are started up before the framework is fully launched. They the the BUndle-Context of the System bundle. Kind regards, Peter Kriens On 28 okt. 2013, at 14:54, Raymond Auge raymond.a...@liferay.com wrote: Great BJ,

Re: [osgi-dev] service from extension bundle?

2013-10-28 Thread Raymond Auge
Thanks Peter! But no bnd launcher here :) embedded framework instance. - Ray On Mon, Oct 28, 2013 at 4:56 PM, Peter Kriens peter.kri...@aqute.bizwrote: If you use the bnd launcher you can put bundles on the -runpath that are started up before the framework is fully launched. They the the