org.jboss.seam.rest.example.tasks.db
Class ImportListener

java.lang.Object
  extended by org.jboss.seam.rest.example.tasks.db.ImportListener
All Implemented Interfaces:
EventListener, ServletContextListener

public class ImportListener
extends Object
implements ServletContextListener

This listener replaces the import.sql script - it feeds the database with sample data

Author:
Jozef Hartinger

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

Constructor Detail

ImportListener

public ImportListener()
Method Detail

contextInitialized

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

contextDestroyed

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


Copyright © 2011 Seam Framework. All Rights Reserved.