Interface HostConfigService

All Known Implementing Classes:
DefaultHostConfigService

public interface HostConfigService
Host config service is used to lookup a hostname specific configuration property. Certain configurations are specific the the hostname that the site is accessed on, these include analytics tracking packages or maps integrations.
  • Method Details

    • getProperty

      String getProperty(String property, String hostname)
      Get property for host
      Parameters:
      property - the property to get
      hostname - the host name
      Returns:
      the property value
    • getConfigForHost

      ConfigLookup getConfigForHost(String hostname)
      Get a ConfigLookup by host name
      Parameters:
      hostname - the host name
      Returns:
      a ConfigLookup