Class ConfigBeanMapperHolder

java.lang.Object
io.helidon.builder.config.spi.ConfigBeanMapperHolder

public class ConfigBeanMapperHolder extends Object
Provides access to the ConfigBeanMapper.
See Also:
  • Method Details

    • configBeanMapperFor

      public static Optional<ConfigBeanMapper> configBeanMapperFor(Class<?> configBeanType)
      Provides the global service-loader instance of ConfigBeanMapper.

      Note that the current expectation here is that the global instance is capable for mapping any ConfigBean-annotated type. The parameter used for the configBeanType serves to both type case the mapper, and also reserves the possibility that the returned instance may be nuanced per bean type at some point in the future.

      Parameters:
      configBeanType - the config bean type to map
      Returns:
      the config bean mapper