com.atlassian.confluence.languages
Class ReloadBundlesContextListener

java.lang.Object
  extended by com.atlassian.confluence.languages.ReloadBundlesContextListener
All Implemented Interfaces:
EventListener, javax.servlet.ServletContextListener

public class ReloadBundlesContextListener
extends Object
implements javax.servlet.ServletContextListener

This ContextListener checks for the 'confluence.i18n.reloadbundles' system property. If set to true, this context listener will configure xworks localized text loading to reload the property files on each request. This allows people that are translating confluence to change the live properties files. Without this flag set, Confluence would need to be restarted after each change.


Constructor Summary
ReloadBundlesContextListener()
           
 
Method Summary
 void contextDestroyed(javax.servlet.ServletContextEvent servletContextEvent)
           
 void contextInitialized(javax.servlet.ServletContextEvent servletContextEvent)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReloadBundlesContextListener

public ReloadBundlesContextListener()
Method Detail

contextInitialized

public void contextInitialized(javax.servlet.ServletContextEvent servletContextEvent)
Specified by:
contextInitialized in interface javax.servlet.ServletContextListener

contextDestroyed

public void contextDestroyed(javax.servlet.ServletContextEvent servletContextEvent)
Specified by:
contextDestroyed in interface javax.servlet.ServletContextListener


Copyright © 2003–2015 Atlassian. All rights reserved.