org.agileclick.genorm.servlet
Class ContextListener

java.lang.Object
  extended by org.agileclick.genorm.servlet.ContextListener
All Implemented Interfaces:
java.util.EventListener, javax.servlet.ServletContextListener

public class ContextListener
extends java.lang.Object
implements javax.servlet.ServletContextListener


Field Summary
static java.lang.String ENVELOPE_CLASS_PARAM
           
static java.lang.String INIT_PARAM
          JNDI Resource to use to get the database DataSource object <context-param> <param-name>genormJNDIDataSource</param-name> <param-value>java:/comp/env/jdbc/postgres</param-value> </context-param>
 
Constructor Summary
ContextListener()
           
 
Method Summary
 void contextDestroyed(javax.servlet.ServletContextEvent sce)
           
 void contextInitialized(javax.servlet.ServletContextEvent sce)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INIT_PARAM

public static final java.lang.String INIT_PARAM
JNDI Resource to use to get the database DataSource object <context-param> <param-name>genormJNDIDataSource</param-name> <param-value>java:/comp/env/jdbc/postgres</param-value> </context-param>

See Also:
Constant Field Values

ENVELOPE_CLASS_PARAM

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

ContextListener

public ContextListener()
Method Detail

contextInitialized

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

contextDestroyed

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