Hi,
I have a properties file that I read using a PropertiesFactoryBean (I'm using Spring v.1.0.1):
<bean id="myProperties" class="org.springframework.beans.factory.config.Pr opertiesFactoryBean">
<property name="location"><value>classpath:my.properties</value></property>
</bean>
It's working as expected but now I want to update this props file. I have seen that there's a PropertiesPersister which is initialized with DefaultPropertiesPersister in the PropertiesFactoryBean but I have no idea how can make use of it (it's not exposed by the PropsFactoryBean).
I could write a specialized bean that adds persistence capabilities to the PropertiesFactoryBean but I'd like to know if there's one already made available by the core framework.
Thank you,
florin


Reply With Quote