protected void processKey(ConfigurableListableBeanFactory factory, String key, String value) throws BeansException { if (this.beanNameAtEnd) { int separatorIndex = key.indexOf(this.beanNameSeparator); if (separatorIndex >= 0) { String beanProperty = key.substring(0, separatorIndex); String beanName = key.substring(separatorIndex + 1); key = beanName + this.beanNameSeparator + beanProperty; } super.processKey(factory, key, value); } }
public void setBeanNameSeparator(String beanNameSeparator) { this.beanNameSeparator = beanNameSeparator; super.setBeanNameSeparator(beanNameSeparator); }