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 Summary
Modifier and TypeMethodDescriptiongetConfigForHost(String hostname) Get aConfigLookupby host namegetProperty(String property, String hostname) Get property for host
-
Method Details
-
getProperty
Get property for host- Parameters:
property- the property to gethostname- the host name- Returns:
- the property value
-
getConfigForHost
Get aConfigLookupby host name- Parameters:
hostname- the host name- Returns:
- a
ConfigLookup
-