public class SettingsBeanPostProcessor extends Object implements org.springframework.beans.factory.config.BeanPostProcessor
Setting| Constructor and Description |
|---|
SettingsBeanPostProcessor() |
| Modifier and Type | Method and Description |
|---|---|
Object |
postProcessAfterInitialization(Object bean,
String beanName)
Noop implementation, will just return
bean. |
Object |
postProcessBeforeInitialization(Object bean,
String beanName)
Adds the
bean using the settings service. |
void |
setSettingsService(SettingsService settingsService)
Sets the
SettingsManager used to configure the beans. |
@Inject public void setSettingsService(SettingsService settingsService)
SettingsManager used to configure the beans.settingsService - the settings servicepublic Object postProcessBeforeInitialization(Object bean, String beanName)
bean using the settings service.postProcessBeforeInitialization in interface org.springframework.beans.factory.config.BeanPostProcessorbean - the bean instancebeanName - the bean nameorg.springframework.beans.factory.BeanInitializationException - if the configuration failspublic Object postProcessAfterInitialization(Object bean, String beanName)
bean.postProcessAfterInitialization in interface org.springframework.beans.factory.config.BeanPostProcessorbean - the bean instancebeanName - the bean namebeanCopyright © 2015–2020 52°North Initiative for Geospatial Open Source Software GmbH. All rights reserved.