org.genealogie.isolation.j2ee
Class ConnexionFactoryPoolStrutsDAOImpl
java.lang.Object
|
+--org.genealogie.isolation.j2ee.ConnexionFactoryPoolStrutsDAOImpl
- All Implemented Interfaces:
- ConnexionFactoryDAO
- public class ConnexionFactoryPoolStrutsDAOImpl
- extends java.lang.Object
- implements ConnexionFactoryDAO
Cette classe permet de se connecter aux pools de connexion
accessible avec jndi.
Un exemple de configuration dans configuration.xml.
Hypersonic
Base perso
perso1
org.genealogie.isolation.defaut.FactoryDAOImpl
org.genealogie.isolation.j2ee.ConnexionFactoryPoolStrutsDAOImpl
Un exemple de configuration de pools avec struts ( struts-config.xml ).
...
| Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait |
POOL_STRUTS_RECUPERATION_IMPOSSIBLE
public static final java.lang.String POOL_STRUTS_RECUPERATION_IMPOSSIBLE
datasource
private javax.sql.DataSource datasource
connection
private java.sql.Connection connection
params
private java.util.Hashtable params
ConnexionFactoryPoolStrutsDAOImpl
public ConnexionFactoryPoolStrutsDAOImpl(java.util.Hashtable params)
debutConnexion
public void debutConnexion(java.lang.String identifiantConnexion)
throws JGeneaException
- Specified by:
debutConnexion in interface ConnexionFactoryDAO
finConnexion
public void finConnexion()
throws JGeneaException
- Specified by:
finConnexion in interface ConnexionFactoryDAO
getConnection
public java.lang.Object getConnection()
throws JGeneaException
- Specified by:
getConnection in interface ConnexionFactoryDAO
Copyright © 2002 JGenea DAO. All Rights Reserved.