- 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 theConverter
used 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> T
getValue(String propertyName, Class<T> propertyType)
Deprecated.<T> T
unwrap(Class<T> aClass)
Deprecated.Unwrap into an implementation.
-
-
-
Method Detail
-
getOptionalValue
public <T> Optional<T> getOptionalValue(String propertyName, Class<T> propertyType)
Deprecated.- Specified by:
getOptionalValue
in interfaceConfig
-
getPropertyNames
public Iterable<String> getPropertyNames()
Deprecated.- Specified by:
getPropertyNames
in interfaceConfig
-
getConfigSources
public Iterable<ConfigSource> getConfigSources()
Deprecated.- Specified by:
getConfigSources
in 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 andConfig
are supported)- Returns:
- typed instance
-
getConverter
public <T> Optional<Converter<T>> getConverter(Class<T> forType)
Deprecated.Return theConverter
used 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
Optional
containing the converter, or empty if no converter is available for the specified type
-
-