Hi,
I am trying to use PropertyOverrideConfigurer to override a couple of values in a java.util.Properties object that is embedded inside of a bean defenition in the application context file.
So say for example that I want to override the "file.path.input" property of the filePathProperties property of the bean someBeaName:
Code:<bean id="someBeaName" class="com.package.SomeBeaName" > <property name="filePathProperties"> <map> <entry key="file.path.input" value="file/path/input.xml"/> <entry key="file.path.output" value="file/path/output.xml"/> <entry key="file.path.script" value="file/path/script.ksh"/> </map> </property> </bean>
Then how would i specify that in the properties file that I am going to load into the PropertyOverrideConfigurer?
what would go in place of the ???? above?Code:someBeaName.filePathProperties.????=alternative/file/path/input.xml
Any help is very much appreciated.


Reply With Quote
