Description
foo = new://Resource?....&properties-provider=foo.bar.MyProvider
MyProvider will either implement PropertiesResourceProvider or just have a Properties provides() method.
Note: if provider has a setProperties method then it can get injected static config properties:
public static class PropertiesProvider { private Properties p; public void setProperties(final Properties p) { this.p = p; } public Properties provides() { return new Properties() {{ putAll(p); setProperty("value", "r1"); // override }}; } }