On 6/22/10 7:58, Felix Meschberger wrote:
Hi

So, provided the PluginManager.close() method is called, the framework
should be stopped and therefore its threads terminated....

Right. And keep in mind that the event dispatcher thread is shared by all framework instances, so if you create more than one framework instance, then the thread won't stop until the last framework instance is stopped.

-> richard

Regards
Felix

On 22.06.2010 13:35, Martin Ritchie wrote:
How are you launching the framework? Are you creating your own instance 
directly or using the Felix launcher?
Hi Richard, we are launching our own instance directly:
         _felix = new Felix(configMap);
             _felix.init();
                process(configMap, _felix.getBundleContext());
             _felix.start();

The full code is here:
https://svn.apache.org/repos/asf/qpid/trunk/qpid/java/broker/src/main/java/org/apache/qpid/server/plugins/PluginManager.java

Thanks for your help in this

Martin

Reply via email to