Examples of MapPropertiesProvider


Examples of org.jboss.gravia.runtime.spi.MapPropertiesProvider

    }

    public OSGiPropertiesProvider(BundleContext bundleContext, boolean systemPropertyDelegation, String environmentVariablePrefix) {
        this.delegate = new SubstitutionPropertiesProvider(new CompositePropertiesProvider(
                new BundleContextPropertiesProvider(bundleContext),
                systemPropertyDelegation ? new SystemPropertiesProvider() : new MapPropertiesProvider(),
                new EnvPropertiesProvider(environmentVariablePrefix)
        ));
    }
View Full Code Here

Examples of org.jboss.gravia.runtime.spi.MapPropertiesProvider

    }

    public OSGiPropertiesProvider(BundleContext bundleContext, boolean systemPropertyDelegation, String environmentVariablePrefix) {
        this.delegate = new SubstitutionPropertiesProvider(new CompositePropertiesProvider(
                new BundleContextPropertiesProvider(bundleContext),
                systemPropertyDelegation ? new SystemPropertiesProvider() : new MapPropertiesProvider(),
                new EnvPropertiesProvider(environmentVariablePrefix)
        ));
    }
View Full Code Here

Examples of org.jboss.gravia.runtime.spi.MapPropertiesProvider

            public Object getProperty(String key, Object defaultValue) {
                return runtime.getProperty(key, defaultValue);
            }
        };

        final PropertiesProvider configurationProvider = new MapPropertiesProvider((Map<String, Object>) configuration);
        final PropertiesProvider[] propertiesProviders = new PropertiesProvider[]{configurationProvider, runtimeProperties};

        PropertiesProvider provider = new SubstitutionPropertiesProvider(propertiesProviders);

        for (Map.Entry<String, ?> entry : configuration.entrySet()) {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.