public class DefaultConfigurationService extends AbstractService implements ConfigurationService
AbstractService.SerializableDTOtenant| Constructor and Description |
|---|
DefaultConfigurationService() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet()
Invoked by a BeanFactory after it has set all bean properties supplied.
|
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. |
void |
setTenantService(TenantService tenantService) |
getCurrentTenant, setBeanName, setCurrentTenant, writeReplacepublic Configuration getConfiguration()
Configuration instance and not a HybrisConfiguration.AbstractConfiguration.getConfiguration in interface ConfigurationServiceConfigurationpublic void setTenantService(TenantService tenantService)
public void afterPropertiesSet()
throws java.lang.Exception
AbstractServicesuper.afterPropertiesSet() before or the java serialization won't work.afterPropertiesSet in class AbstractServicejava.lang.ExceptionInitializingBean#afterPropertiesSet()Copyright © 2018 SAP SE. All Rights Reserved.