Interface ConfigurationBeanBinder

All Known Implementing Classes:
DefaultConfigurationBeanBinder

public interface ConfigurationBeanBinder
The binder for the configuration bean
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    bind(Map<String,Object> configurationProperties, boolean ignoreUnknownFields, boolean ignoreInvalidFields, Object configurationBean)
    Bind the properties in the Environment to Configuration bean under specified prefix.
  • Method Details

    • bind

      void bind(Map<String,Object> configurationProperties, boolean ignoreUnknownFields, boolean ignoreInvalidFields, Object configurationBean)
      Bind the properties in the Environment to Configuration bean under specified prefix.
      Parameters:
      configurationProperties - The configuration properties
      ignoreUnknownFields - whether to ignore unknown fields, the value is come from the attribute of EnableConfigurationBeanBinding.ignoreUnknownFields()
      ignoreInvalidFields - whether to ignore invalid fields, the value is come from the attribute of EnableConfigurationBeanBinding.ignoreInvalidFields()
      configurationBean - the bean of configuration