DynamicStringProperty prop2 = factory.getStringProperty("prop2", null);
DynamicStringProperty prop3 = factory.getStringProperty("prop3", null);
DynamicStringProperty prop4 = factory.getStringProperty("prop4", null);
AbstractConfiguration containerConfig = new ConcurrentMapConfiguration();
containerConfig.addProperty("prop1", "prop1");
containerConfig.addProperty("prop2", "prop2");
AbstractConfiguration baseConfig = new ConcurrentMapConfiguration();
baseConfig.addProperty("prop3", "prop3");
baseConfig.addProperty("prop1", "prop1FromBase");
// make container configuration the highest priority
config.setContainerConfiguration(containerConfig, "container configuration", 0);