168169170171172173174175176177178
// destroy the services in reverse order for (Iterator iterator = factoryList.iterator (); iterator.hasNext (); ) { Factory factory = (Factory) iterator.next (); try { factory.destroy (); } catch (Exception exc) { } } factoryList.clear();
198199200201202203204205206207208
167168169170171172173174175176177
// destroy the services in reverse order for (Iterator iterator = factoryList.iterator (); iterator.hasNext (); ) { Factory factory = (Factory) iterator.next (); try { factory.destroy (); } catch (Exception exc) { // ignore it } }
210211212213214215216217218219220
{ Factory factory = (Factory) iterator.next (); try { factory.destroy (); } catch (Exception exc) { if (context != null) context.log ("FactoryManager: Factory couldn't be destroyed.", exc);