Class DefaultHostConfigService
- java.lang.Object
-
- de.hybris.platform.acceleratorservices.config.impl.DefaultHostConfigService
-
- All Implemented Interfaces:
HostConfigService
public class DefaultHostConfigService extends java.lang.Object implements HostConfigService
Default implementation of the HostConfigService. Uses the hybris config service to lookup host specific properties.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classDefaultHostConfigService.HostConfigLookup
-
Constructor Summary
Constructors Constructor Description DefaultHostConfigService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConfigLookupgetConfigForHost(java.lang.String hostname)Get aConfigLookupby host nameprotected ConfigurationServicegetConfigurationService()java.lang.StringgetProperty(java.lang.String property, java.lang.String hostname)Get property for hostprotected UiExperienceServicegetUiExperienceService()voidsetConfigurationService(ConfigurationService configurationService)voidsetUiExperienceService(UiExperienceService uiExperienceService)
-
-
-
Method Detail
-
getConfigurationService
protected ConfigurationService getConfigurationService()
-
setConfigurationService
public void setConfigurationService(ConfigurationService configurationService)
-
getUiExperienceService
protected UiExperienceService getUiExperienceService()
-
setUiExperienceService
public void setUiExperienceService(UiExperienceService uiExperienceService)
-
getProperty
public java.lang.String getProperty(java.lang.String property, java.lang.String hostname)Description copied from interface:HostConfigServiceGet property for host- Specified by:
getPropertyin interfaceHostConfigService- Parameters:
property- the property to gethostname- the host name- Returns:
- the property value
-
getConfigForHost
public ConfigLookup getConfigForHost(java.lang.String hostname)
Description copied from interface:HostConfigServiceGet aConfigLookupby host name- Specified by:
getConfigForHostin interfaceHostConfigService- Parameters:
hostname- the host name- Returns:
- a
ConfigLookup
-
-