Announcement Announcement Module
No announcement yet.
Reloading properties of Application Context Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • Reloading properties of Application Context

    Hi to all

    I have an application whose properties are stored in the Application Context File, as properties of the beans of the application.
    In this Application Context file I have prototype beans and singleton beans.
    The prototype beans have several properties defined. I want to hot-reload the properties of the prototype beans so when I get a new one it have the new properties defined, but I don't want the already created beans get these new properties values.

    I have though using context.refresh(), but this method try to re-create the existing beans in the context, and I don't want this.

    It is possible to do it?.