org.apache.tuscany.sca.host.webapp
Class HotUpdateContextListener

java.lang.Object
  extended by org.apache.tuscany.sca.host.webapp.TuscanyContextListener
      extended by org.apache.tuscany.sca.host.webapp.HotUpdateContextListener

public class HotUpdateContextListener
extends TuscanyContextListener

A WebApp ContextListener that starts a Tuscany runtime supporting multiple SCA contribution jars. All contribution jars found in the repository directory named "sca-contributions" will be contributed to the SCA domain. Any changes to the contributions in the repository will be automatically detected and the SCADomain updated accordingly.


Field Summary
static java.lang.String REPOSITORY_FOLDER_NAME
           
 
Constructor Summary
HotUpdateContextListener()
           
 
Method Summary
 void contextInitialized(ServletContextEvent event)
           
 
Methods inherited from class org.apache.tuscany.sca.host.webapp.TuscanyContextListener
contextDestroyed
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

REPOSITORY_FOLDER_NAME

public static final java.lang.String REPOSITORY_FOLDER_NAME
See Also:
Constant Field Values
Constructor Detail

HotUpdateContextListener

public HotUpdateContextListener()
Method Detail

contextInitialized

public void contextInitialized(ServletContextEvent event)
Overrides:
contextInitialized in class TuscanyContextListener