public final class ConfigMappingContext extends Object
| Modifier and Type | Method and Description |
|---|---|
String |
applyNamingStrategy(String name) |
<T> T |
constructGroup(Class<T> interfaceType) |
<T> T |
constructRoot(Class<T> interfaceType) |
static IntFunction<Collection<?>> |
createCollectionFactory(Class<?> type) |
SmallRyeConfig |
getConfig() |
<T> org.eclipse.microprofile.config.spi.Converter<T> |
getConverterInstance(Class<? extends org.eclipse.microprofile.config.spi.Converter<? extends T>> converterType) |
Object |
getEnclosedField(Class<?> enclosingType,
String key,
Object enclosingObject) |
<T> org.eclipse.microprofile.config.spi.Converter<T> |
getKeyConverter(Class<?> enclosingType,
String field,
int degree) |
ConfigMappingObject |
getRoot(Class<?> rootType,
String rootPath) |
StringBuilder |
getStringBuilder() |
<T> org.eclipse.microprofile.config.spi.Converter<T> |
getValueConverter(Class<?> enclosingType,
String field) |
NoSuchElementException |
noSuchElement(Class<?> type) |
void |
registerEnclosedField(Class<?> enclosingType,
String key,
Object enclosingObject,
Object value) |
void |
registerRoot(Class<?> rootType,
String rootPath,
ConfigMappingObject root) |
void |
reportProblem(RuntimeException problem) |
void |
unknownConfigElement(String propertyName) |
public ConfigMappingObject getRoot(Class<?> rootType, String rootPath)
public void registerRoot(Class<?> rootType, String rootPath, ConfigMappingObject root)
public Object getEnclosedField(Class<?> enclosingType, String key, Object enclosingObject)
public void registerEnclosedField(Class<?> enclosingType, String key, Object enclosingObject, Object value)
public <T> T constructRoot(Class<T> interfaceType)
public <T> T constructGroup(Class<T> interfaceType)
public <T> org.eclipse.microprofile.config.spi.Converter<T> getValueConverter(Class<?> enclosingType, String field)
public <T> org.eclipse.microprofile.config.spi.Converter<T> getKeyConverter(Class<?> enclosingType, String field, int degree)
public <T> org.eclipse.microprofile.config.spi.Converter<T> getConverterInstance(Class<? extends org.eclipse.microprofile.config.spi.Converter<? extends T>> converterType)
public static IntFunction<Collection<?>> createCollectionFactory(Class<?> type)
public NoSuchElementException noSuchElement(Class<?> type)
public void unknownConfigElement(String propertyName)
public SmallRyeConfig getConfig()
public StringBuilder getStringBuilder()
public void reportProblem(RuntimeException problem)
Copyright © 2018–2021. All rights reserved.