paul
paul

Reputation: 13471

Modify property of PropertyPlaceholderConfigurer

I have a class that extends PropertyPlaceholderConfigurer where I´m injecting some properties with values form database. My question is, if once that I have my application spring running, would be possible to update a property value that I have on memory on PropertyPlaceholderConfigurer.

Regards.

Upvotes: 0

Views: 1427

Answers (1)

Have you tried to refresh your Application Context and get the new bean?

check out the post on Update database settings in properties file in Spring

Upvotes: 1

Related Questions