org.objectweb.jonas.dbm
Class JonasIdbXADataSource

org.objectweb.jonas.dbm.JonasIdbXADataSource
All Implemented Interfaces:
CommonDataSource

public class JonasIdbXADataSource
implements CommonDataSource

CAUTION : this wrapper only works with InstantDB 3.21 version with XA support To compile this file, you have to add it in the local Makefile and add in your classpath, the idb.jar from instantDB. (org.enhydra.jdbc.instantdb.IdbXADataSource is needed to compile this file)


Constructor Summary
JonasIdbXADataSource()
           
 
Method Summary
 void setMaxCon(int min)
           
 void setMinCon(int min)
           
 void setProperties(java.lang.String url, java.lang.String classname, java.lang.String user, java.lang.String password)
           
 void setTransactionManager(javax.transaction.TransactionManager tm)
           
 
Methods inherited from interface org.objectweb.jonas.dbm.CommonDataSource
setDebug, setLogWriter
 

Constructor Detail

JonasIdbXADataSource

public JonasIdbXADataSource()
Method Detail

setProperties

public void setProperties(java.lang.String url,
                          java.lang.String classname,
                          java.lang.String user,
                          java.lang.String password)
                   throws java.sql.SQLException
Specified by:
setProperties in interface CommonDataSource

setTransactionManager

public void setTransactionManager(javax.transaction.TransactionManager tm)
Specified by:
setTransactionManager in interface CommonDataSource

setMinCon

public void setMinCon(int min)
Specified by:
setMinCon in interface CommonDataSource

setMaxCon

public void setMaxCon(int min)
Specified by:
setMaxCon in interface CommonDataSource