public OSGiPropertiesProvider(BundleContext bundleContext) {
this(bundleContext, null);
}
public OSGiPropertiesProvider(BundleContext bundleContext, String environmentVariablePrefix) {
PropertiesProvider system = new SystemPropertiesProvider();
PropertiesProvider env = environmentVariablePrefix != null ? new EnvPropertiesProvider(environmentVariablePrefix) : new EnvPropertiesProvider(system);
this.delegate = new SubstitutionPropertiesProvider(
new CompositePropertiesProvider(
new BundleContextPropertiesProvider(bundleContext),