Re: Dependency Manager - Service does not stop

2018-07-06 Thread Florian Pattke
Hello Pierre, your example worked fine. I got it working now, it was not related to the Dependcy Manager directly. I messed because an Exception was swallowed by a CompletableFuture. Thanks a lot for your help. Regards Florian On 06.07.2018 01:35, Pierre De Rop wrote: Hello Florian, I ha

Re: Dependency Manager - Service does not stop

2018-07-05 Thread Pierre De Rop
Hello Florian, I have tried to reproduce the problem, but it seems to work well; I have committed a sample code which reflects the usecase you are describing here [1]. Can you please clone it and give it a try (the sample code is built using bndtools 3.4.0). To build the sample: git clone https:

Dependency Manager - Service does not stop

2018-07-05 Thread Florian Pattke
Hello, I am using a FactoryConfigurationAdapterServer and I have problems to unregister the services, when I stop the bundle. Here is my activator code: public void init(BundleContext bundleContext, DependencyManager dependencyManager) throws Exception {     dependencyManager.add(