celix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pepijn Noltes <pepijnnol...@gmail.com>
Subject Re: Celix and Declarative Services
Date Wed, 27 Jun 2012 07:31:19 GMT
On Tue, Jun 26, 2012 at 9:01 PM, Alexander Broekhuis
<a.broekhuis@gmail.com> wrote:
> Sent from my mobile.. So might be strangely formatted.
>> A Service Component Runtime (SCR) needs to have access to functions in
>> another module for activating/deactivating the component. Because
>> Apache Celix has no module layer (yet), the only way to provide this
>> is by creating and registering a service. (Or am I missing
>> something?).
> I want to use dynamic loading for this. Already did some testing and this
> works.
>> So a declarative service service would be needed to make
>> this work and I think thats not the way to go.
>> I agree with Alexander that a simple solution would be to add this to
>> the framework. In that case the framework SCR has access to the shared
>> libraries and can use dynamic object loading with the names (for
>> activate/deactivate/etc) provided in the DS XML. Although not a nice
>> as a separated SRC bundle, IMO this is -for now - the best solution.
> I think a separate bundle can work for this..

Ok, great the hear. I'm curious how this can work with separate
bundles, so keep us informed if you have some more results ;)

>> Greetings,
>> Pepijn

View raw message