public class ConfigurationBuilder extends Object
| Modifier and Type | Method and Description |
|---|---|
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. |
public static org.ops4j.pax.web.service.spi.config.Configuration getConfiguration(org.ops4j.util.property.PropertyResolver resolver,
Map<String,String> sourceProperties)
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.resolver - a PropertyResolver to access properties by name, but without a way to get all
of the properties as dictionarysourceProperties - usually available from passed resolver, but may be useful as Map.Copyright © 2006–2023 OPS4J - Open Participation Software for Java. All rights reserved.