Interface HostConfigService
-
- All Known Implementing Classes:
DefaultHostConfigService
public interface HostConfigServiceHost 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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ConfigLookupgetConfigForHost(java.lang.String hostname)Get aConfigLookupby host namejava.lang.StringgetProperty(java.lang.String property, java.lang.String hostname)Get property for host
-
-
-
Method Detail
-
getProperty
java.lang.String getProperty(java.lang.String property, java.lang.String hostname)Get property for host- Parameters:
property- the property to gethostname- the host name- Returns:
- the property value
-
getConfigForHost
ConfigLookup getConfigForHost(java.lang.String hostname)
Get aConfigLookupby host name- Parameters:
hostname- the host name- Returns:
- a
ConfigLookup
-
-