public class AutomaticConverter extends Object
Converters are created "on the fly" in case no Converter as found but the target type has a
suitable factory Method or Constructor.| Constructor and Description |
|---|
AutomaticConverter() |
| Modifier and Type | Method and Description |
|---|---|
static <T> Optional<org.eclipse.microprofile.config.spi.Converter<T>> |
forType(Class<T> type)
Return implicit converter for a class following section "Automatic Converters" of the spec, if class has
matching construct
|
public static <T> Optional<org.eclipse.microprofile.config.spi.Converter<T>> forType(Class<T> type)
T - target type of propertygeneralType - target type of propertyCopyright © 2020. All rights reserved.