/** * This method allows to replace the current default {@link org.apache.tamaya.Configuration} with a new * instance. It is the responsibility of the ConfigurationProvider to trigger * corresponding update events for the current {@link org.apache.tamaya.Configuration}, so observing * listeners can do whatever is appropriate to react to any given configuration change. * * @param config the new Configuration to be applied, not {@code null} * @throws java.lang.UnsupportedOperationException if the current provider is read-only and * does not support * applying a new Configuration. */ public static void setConfiguration(Configuration config) { // todo obf if (1==1) throw new RuntimeException("No tests written."); LOG.info("TAMAYA Applying new Configuration: " + config); spi().setConfiguration(config); }