- java.lang.Object
-
- io.helidon.config.mp.MpConfigImpl
-
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Iterable<ConfigSource>getConfigSources()Deprecated.<T> Optional<Converter<T>>getConverter(Class<T> forType)Deprecated.Return theConverterused by this instance to produce instances of the specified type from string values.<T> Optional<T>getOptionalValue(String propertyName, Class<T> propertyType)Deprecated.Iterable<String>getPropertyNames()Deprecated.<T> TgetValue(String propertyName, Class<T> propertyType)Deprecated.<T> Tunwrap(Class<T> aClass)Deprecated.Unwrap into an implementation.
-
-
-
Method Detail
-
getOptionalValue
public <T> Optional<T> getOptionalValue(String propertyName, Class<T> propertyType)
Deprecated.- Specified by:
getOptionalValuein interfaceConfig
-
getPropertyNames
public Iterable<String> getPropertyNames()
Deprecated.- Specified by:
getPropertyNamesin interfaceConfig
-
getConfigSources
public Iterable<ConfigSource> getConfigSources()
Deprecated.- Specified by:
getConfigSourcesin interfaceConfig
-
unwrap
public <T> T unwrap(Class<T> aClass)
Deprecated.Unwrap into an implementation. This method will be added in MP Config 2.0.- Type Parameters:
T- type of the class- Parameters:
aClass- class to unwrap to (only this class andConfigare supported)- Returns:
- typed instance
-
getConverter
public <T> Optional<Converter<T>> getConverter(Class<T> forType)
Deprecated.Return theConverterused by this instance to produce instances of the specified type from string values. This method is from a future version of MP Config specification and may changed before it is released. It is nevertheless needed to process annotations with default values.- Type Parameters:
T- the conversion type- Parameters:
forType- the type to be produced by the converter- Returns:
- an
Optionalcontaining the converter, or empty if no converter is available for the specified type
-
-