Interface ConfigurationBindingProvider


public interface ConfigurationBindingProvider
A provider to get bindings (implementations) for configuration interfaces.
  • Method Summary

    Modifier and Type Method Description
    <T> T get​(java.lang.String prefix, java.lang.Class<T> type)
    Returns a binding for a configuration interface.
  • Method Details

    • get

      <T> T get​(java.lang.String prefix, java.lang.Class<T> type)
      Returns a binding for a configuration interface.
      Type Parameters:
      T - The configuration interface to get an instance for.
      Parameters:
      prefix - Relative path to configuration values.
      type - The class for <T>.
      Returns:
      The corresponding binding.