private static void loadMediatorFactories() { for (Class c : mediatorFactories) { try { MediatorFactory fac = (MediatorFactory) c.newInstance(); factoryMap.put(fac.getTagQName(), c); } catch (Exception e) { throw new SynapseException("Error instantiating " + c.getName(), e); } } // now iterate through the available pluggable mediator factories registerExtensions(); initialized = true; }
private static void loadMediatorFactories() { for (Class c : mediatorFactories) { try { MediatorFactory fac = (MediatorFactory) c.newInstance(); factoryMap.put(fac.getTagQName(), c); } catch (Exception e) { throw new SynapseException("Error instantiating " + c.getName(), e); } } // now iterate through the available pluggable mediator factories registerExtensions(); initialized = true; }