Class DefaultConfigurationService

java.lang.Object
de.hybris.platform.servicelayer.internal.service.AbstractService
de.hybris.platform.servicelayer.config.impl.DefaultConfigurationService
All Implemented Interfaces:
ConfigurationService, Serializable, org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanNameAware, org.springframework.beans.factory.InitializingBean

public class DefaultConfigurationService extends AbstractService implements ConfigurationService
Default implementation of the configuration service interface.
Since:
4.0
See Also:
  • Constructor Details

    • DefaultConfigurationService

      public DefaultConfigurationService()
  • Method Details

    • getConfiguration

      public org.apache.commons.configuration.Configuration getConfiguration()
      Returned value is a commons Configuration instance and not a HybrisConfiguration.
      Advantage: only most used getters are available; unused confusing methods are hidden.
      Disadvantage: when using listeners result must be cast to AbstractConfiguration.
      Specified by:
      getConfiguration in interface ConfigurationService
      Returns:
      Configuration
    • setTenantService

      public void setTenantService(TenantService tenantService)
    • afterPropertiesSet

      public void afterPropertiesSet() throws Exception
      Description copied from class: AbstractService
      Invoked by a BeanFactory after it has set all bean properties supplied. Overwrite this method for adding/implementing additional code into the service. Important note: Please call always super.afterPropertiesSet() before or the java serialization won't work.
      Specified by:
      afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
      Overrides:
      afterPropertiesSet in class AbstractService
      Throws:
      Exception
      See Also:
      • InitializingBean.afterPropertiesSet()