Announcement Announcement Module
Collapse
No announcement yet.
Spring Context reloading thread-safety Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Spring Context reloading thread-safety

    Hi,

    I have a webapp and I need to reload the XmlWebApplicationContext used by the Servlets. The solution was to use JMX to expose a bean that can invoque the "refresh" method of the context object.

    Is it thread-safe to reload the context? If there are multiple threads accessing the context during the reload what could happen?

    Thanks,

    Dvsantos
Working...
X