@Override protected Properties mergeProperties() throws IOException { Properties properties = super.mergeProperties(); AbstractConfiguration config = ConfigurationManager.getConfigInstance(); Iterator<String> iter = config.getKeys(); while (iter.hasNext()) { String key = iter.next(); Object value = config.getProperty(key); properties.put(key, value); } return properties; }
@Override protected Properties mergeProperties() throws IOException { p = super.mergeProperties(); return p; } }
@Override protected Properties mergeProperties() throws IOException { Properties properties = super.mergeProperties(); ConfigurerPropertiesHolder.setProperties(properties); return properties; }
@Override protected Properties mergeProperties() throws IOException { Properties properties = new Properties(); Map<String, String> configMap = ConfigurationUtil .getConfigurationManager().getConfiguration(); if (configMap != null) { for (String key : configMap.keySet()) { String value = configMap.get(key); properties.put(key, value); } } Properties mergeProperties = super.mergeProperties(); if (mergeProperties != null) { properties.putAll(mergeProperties); for (Object key : mergeProperties.keySet()) { configMap.put(key.toString(), mergeProperties.get(key).toString()); } } return properties; }
@Override protected Properties mergeProperties() throws IOException { Properties properties = super.mergeProperties(); AbstractConfiguration config = ConfigurationManager.getConfigInstance(); Iterator<String> iter = config.getKeys(); while (iter.hasNext()) { String key = iter.next(); Object value = config.getProperty(key); properties.put(key, value); } return properties; }
props.putAll(super.mergeProperties());
@Override protected Properties mergeProperties() throws IOException { Properties result = super.mergeProperties(); if(canShowConfiguration(getModuleName())) { table.setProperties(result); table.dump(System.out); // NOSONAR } return result; }