Hi all, I just fixed two issues with Declarative Services ([1], [2]). The first is actually a small fix and mainly is a matter of definition Import and Export headers.
The second fix ([2]) is larger, in that it completely changes the timing of changing component states. With this fix all state changes (except creation and disposal of the ComponentManager instances) happen asynchronosuly in a separate thread. This simplifies the concurrency issues of the ComponentManager instances as there is generally only one thread acting upon them anyway and at the same time free the framework event thread(s) from the component management task handling. Finally, I also fixed a NullPointerException mentioned earlier on the list. This NullPointerException occurred for delayed components, which were actually never used. In this case the ComponentManager tried to find and call the deactivate method on a null-object, which of course fails as expected. I will now start to add the management support stuff [3]. As always any feedback is welcome. Regards Felix [1] - https://issues.apache.org/jira/browse/FELIX-277 [2] - https://issues.apache.org/jira/browse/FELIX-279 [3] - https://issues.apache.org/jira/browse/FELIX-284 PS: The snapshost has been built with Java 1.4.2