Replace resource property with location for PropertyFactoryBean
This commit is contained in:
parent
ee2eac5a51
commit
74123cd234
|
@ -140,7 +140,7 @@ public class PrincipalRepositoryBeanDefinitionParser extends AbstractBeanDefinit
|
|||
// properties element
|
||||
RootBeanDefinition defintion = new RootBeanDefinition(PropertiesFactoryBean.class);
|
||||
String propertyValue = ele.getAttribute(RESOURCE);
|
||||
defintion.getPropertyValues().addPropertyValue(RESOURCE, propertyValue);
|
||||
defintion.getPropertyValues().addPropertyValue("location", propertyValue);
|
||||
defintion.setSource(parserContext.extractSource(ele));
|
||||
return parserContext.getReaderContext().registerWithGeneratedName(defintion);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue