Package io.helidon.config.objectmapping
Class ObjectConfigMapperProvider
java.lang.Object
io.helidon.config.objectmapping.ObjectConfigMapperProvider
- All Implemented Interfaces:
- ConfigMapperProvider
Java beans support for configuration.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionA simple mapping function from config node to a typed value based on the expected class.mappers()Returns a map of mapper functions associated with appropriate target type (Class<?>.Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.helidon.config.spi.ConfigMapperProvidergenericTypeMappers, mapper
- 
Constructor Details- 
ObjectConfigMapperProviderpublic ObjectConfigMapperProvider()
 
- 
- 
Method Details- 
mappersDescription copied from interface:ConfigMapperProviderReturns a map of mapper functions associated with appropriate target type (Class<?>.Mappers will be automatically registered by Config.Builderduring bootstrapping ofConfigunlessdisableld.- Specified by:
- mappersin interface- ConfigMapperProvider
- Returns:
- a map of config mapper functions, never null, though this may return an empty map ifConfigMapperProvider.mapper(Class)is used instead
 
- 
mapperDescription copied from interface:ConfigMapperProviderA simple mapping function from config node to a typed value based on the expected class. If more complex type handling or conversion is needed, useConfigMapperProvider.mapper(GenericType).- Specified by:
- mapperin interface- ConfigMapperProvider
- Type Parameters:
- T- type returned from conversion
- Parameters:
- type- type of the expected mapping result
- Returns:
- function to convert config node to the expected type, or empty if the type is not supported by this provider
 
 
-