Class DefaultHostConfigService
java.lang.Object
de.hybris.platform.acceleratorservices.config.impl.DefaultHostConfigService
- All Implemented Interfaces:
HostConfigService
Default implementation of the HostConfigService.
Uses the hybris config service to lookup host specific properties.
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetConfigForHost(String hostname) Get aConfigLookupby host nameprotected ConfigurationServicegetProperty(String property, String hostname) Get property for hostprotected UiExperienceServicevoidsetConfigurationService(ConfigurationService configurationService) voidsetUiExperienceService(UiExperienceService uiExperienceService)
-
Constructor Details
-
DefaultHostConfigService
public DefaultHostConfigService()
-
-
Method Details
-
getConfigurationService
-
setConfigurationService
-
getUiExperienceService
-
setUiExperienceService
-
getProperty
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
Description copied from interface:HostConfigServiceGet aConfigLookupby host name- Specified by:
getConfigForHostin interfaceHostConfigService- Parameters:
hostname- the host name- Returns:
- a
ConfigLookup
-