• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

How to update property value dynamically by using PropertyPlaceholderConfigurer

 
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I need to change the property place holder values after server start up from DB for different session user. As I have used custom PropertyPlaceholderConfigurer by extending in subclass as below.

Here is context.xml used spring 2.5.6


Here is the code where updating property value without restarting server:

But still value is not getting updating in uerManagementServiceImpl.

Please let me know what wrong in my code to get updated value to be set for property place holder dynamically without restarting server.
 
reply
    Bookmark Topic Watch Topic
  • New Topic