org.agileclick.genorm.servlet
Class ContextListener
java.lang.Object
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>
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
ContextListener
public ContextListener()
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