private void registerWSDLExtensibilityPlugins(ExtensionRegistry registry) { Properties initialExtensions = null; try { initialExtensions = PropertiesLoaderUtils.loadAllProperties(WSDL_PLUGIN_RESOURCE, Thread .currentThread().getContextClassLoader()); } catch (IOException ex) { throw new RuntimeException(ex); } for (Iterator<?> it = initialExtensions.keySet().iterator(); it.hasNext();) { String key = (String) it.next(); String pluginClz = initialExtensions.getProperty(key); try { if (LOG.isLoggable(Level.FINE)) { LOG.fine("Registering : " + pluginClz + " for type: " + key); } WSDLExtensibilityPlugin plugin = (WSDLExtensibilityPlugin)ClassLoaderUtils.loadClass(pluginClz, getClass()). newInstance(); plugin.setExtensionRegistry(registry); wsdlPlugins.put(key, plugin); } catch (Exception ex) { LOG.log(Level.WARNING, "EXTENSION_ADD_FAILED_MSG", ex); } } } }
private void registerWSDLExtensibilityPlugins(ExtensionRegistry registry) { Properties initialExtensions = null; try { initialExtensions = PropertiesLoaderUtils.loadAllProperties(WSDL_PLUGIN_RESOURCE, Thread .currentThread().getContextClassLoader()); } catch (IOException ex) { throw new RuntimeException(ex); } for (Iterator<?> it = initialExtensions.keySet().iterator(); it.hasNext();) { String key = (String) it.next(); String pluginClz = initialExtensions.getProperty(key); try { if (LOG.isLoggable(Level.FINE)) { LOG.fine("Registering : " + pluginClz + " for type: " + key); } WSDLExtensibilityPlugin plugin = (WSDLExtensibilityPlugin)ClassLoaderUtils.loadClass(pluginClz, getClass()). newInstance(); plugin.setExtensionRegistry(registry); wsdlPlugins.put(key, plugin); } catch (Exception ex) { LOG.log(Level.WARNING, "EXTENSION_ADD_FAILED_MSG", ex); } } } }
private void registerWSDLExtensibilityPlugins(ExtensionRegistry registry) { Properties initialExtensions = null; try { initialExtensions = PropertiesLoaderUtils.loadAllProperties(WSDL_PLUGIN_RESOURCE, Thread .currentThread().getContextClassLoader()); } catch (IOException ex) { throw new RuntimeException(ex); } for (Iterator<?> it = initialExtensions.keySet().iterator(); it.hasNext();) { String key = (String) it.next(); String pluginClz = initialExtensions.getProperty(key); try { if (LOG.isLoggable(Level.FINE)) { LOG.fine("Registering : " + pluginClz + " for type: " + key); } WSDLExtensibilityPlugin plugin = (WSDLExtensibilityPlugin)ClassLoaderUtils.loadClass(pluginClz, getClass()). newInstance(); plugin.setExtensionRegistry(registry); wsdlPlugins.put(key, plugin); } catch (Exception ex) { LOG.log(Level.WARNING, "EXTENSION_ADD_FAILED_MSG", ex); } } } }
private void registerWSDLExtensibilityPlugins(ExtensionRegistry registry) { Properties initialExtensions = null; try { initialExtensions = PropertiesLoaderUtils.loadAllProperties(WSDL_PLUGIN_RESOURCE, Thread .currentThread().getContextClassLoader()); } catch (IOException ex) { throw new RuntimeException(ex); } for (Iterator<?> it = initialExtensions.keySet().iterator(); it.hasNext();) { String key = (String) it.next(); String pluginClz = initialExtensions.getProperty(key); try { if (LOG.isLoggable(Level.FINE)) { LOG.fine("Registering : " + pluginClz + " for type: " + key); } WSDLExtensibilityPlugin plugin = (WSDLExtensibilityPlugin)ClassLoaderUtils.loadClass(pluginClz, getClass()). newInstance(); plugin.setExtensionRegistry(registry); wsdlPlugins.put(key, plugin); } catch (Exception ex) { LOG.log(Level.WARNING, "EXTENSION_ADD_FAILED_MSG", ex); } } } }