com.ora.jsp.servlets
Class ResourceManagerListener2
java.lang.Object
com.ora.jsp.servlets.ResourceManagerListener2
- All Implemented Interfaces:
- java.util.EventListener, javax.servlet.ServletContextListener
- public class ResourceManagerListener2
- extends java.lang.Object
- implements javax.servlet.ServletContextListener
This class manages the DataSource resource for a fictious
application, creating an Oracle DataSource with pooling capabilities
and makes it available when the application starts and removes it
when the application is shut down.
- Version:
- 1.0
- Author:
- Hans Bergsten, Gefion software
Field Summary |
private oracle.jdbc.pool.OracleConnectionCacheImpl |
ds
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ds
private oracle.jdbc.pool.OracleConnectionCacheImpl ds
ResourceManagerListener2
public ResourceManagerListener2()
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