Class ConfigurationBuilder


  • public class ConfigurationBuilder
    extends Object
    • Method Detail

      • getConfiguration

        public static org.ops4j.pax.web.service.spi.config.Configuration getConfiguration​(org.ops4j.util.property.PropertyResolver resolver,
                                                                                          Map<String,​String> sourceProperties)
        Produces Configuration object with properties coming from passed resolver. Returned Configuration may be prepopulated (having properties resolved immediately), however, when using Configuration.get(String, Class), resolvers may be used on demand.
        Parameters:
        resolver - a PropertyResolver to access properties by name, but without a way to get all of the properties as dictionary
        sourceProperties - usually available from passed resolver, but may be useful as Map.
        Returns: