Class BaseIntegrationServicesConfiguration
- java.lang.Object
-
- de.hybris.platform.integrationservices.config.BaseIntegrationServicesConfiguration
-
- Direct Known Subclasses:
DefaultInboundServicesConfiguration,DefaultIntegrationServicesConfiguration,DefaultOutboundServicesConfiguration,DefaultOutboundSyncConfiguration
public class BaseIntegrationServicesConfiguration extends java.lang.ObjectProvides common functionality for child classes
-
-
Field Summary
Fields Modifier and Type Field Description protected static java.lang.StringFALLBACK_MESSAGE
-
Constructor Summary
Constructors Constructor Description BaseIntegrationServicesConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleangetBooleanProperty(java.lang.String property, boolean defaultValue)Gets the boolean property from theConfigurationService.protected ConfigurationServicegetConfigurationService()protected intgetIntegerProperty(java.lang.String property, int defaultValue)Gets the integer property from theConfigurationService.protected java.lang.StringgetStringProperty(java.lang.String property, java.lang.String defaultValue)Gets the String property from theConfigurationService.voidsetConfigurationService(ConfigurationService configurationService)
-
-
-
Field Detail
-
FALLBACK_MESSAGE
protected static final java.lang.String FALLBACK_MESSAGE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getConfigurationService
protected ConfigurationService getConfigurationService()
-
setConfigurationService
public void setConfigurationService(ConfigurationService configurationService)
-
getStringProperty
protected java.lang.String getStringProperty(java.lang.String property, java.lang.String defaultValue)Gets the String property from theConfigurationService. If there's an exception, the default value is returned- Parameters:
property- Property to getdefaultValue- Default value to return if an exception occurs- Returns:
- The property value
-
getBooleanProperty
protected boolean getBooleanProperty(java.lang.String property, boolean defaultValue)Gets the boolean property from theConfigurationService. If there's an exception, the default value is returned- Parameters:
property- Property to getdefaultValue- Default value to return if an exception occurs- Returns:
- The property value
-
getIntegerProperty
protected int getIntegerProperty(java.lang.String property, int defaultValue)Gets the integer property from theConfigurationService. If there's an exception, the default value is returned- Parameters:
property- Property to getdefaultValue- Default value to return if an exception occurs- Returns:
- The property value
-
-