celix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexander Broekhuis <a.broekh...@gmail.com>
Subject Re: Celix and Declarative Services
Date Tue, 26 Jun 2012 19:01:09 GMT
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

> 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..

> Greetings,
> Pepijn

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message