fr.inra.refcomp.server
Class ApplicationListener

java.lang.Object
  extended by fr.inra.refcomp.server.ApplicationListener
All Implemented Interfaces:
EventListener, javax.servlet.ServletContextListener

public class ApplicationListener
extends Object
implements javax.servlet.ServletContextListener

User: couteau Date: 01/02/11


Field Summary
protected static org.apache.commons.logging.Log log
           
 
Constructor Summary
ApplicationListener()
           
 
Method Summary
 void contextDestroyed(javax.servlet.ServletContextEvent sce)
           
 void contextInitialized(javax.servlet.ServletContextEvent sce)
           
protected  void createAdminUser()
           
protected  void initDatabase()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected static final org.apache.commons.logging.Log log
Constructor Detail

ApplicationListener

public ApplicationListener()
Method Detail

contextInitialized

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

initDatabase

protected void initDatabase()

createAdminUser

protected void createAdminUser()

contextDestroyed

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


Copyright © 2010-2012 Code Lutin. All Rights Reserved.