org.enhydra.jdbc.informix
Class InformixXADataSource

java.lang.Object
  extended by org.enhydra.jdbc.util.JdbcUtil
      extended by org.enhydra.jdbc.core.CoreDataSource
          extended by org.enhydra.jdbc.standard.StandardDataSource
              extended by org.enhydra.jdbc.standard.StandardConnectionPoolDataSource
                  extended by org.enhydra.jdbc.standard.StandardXADataSource
                      extended by org.enhydra.jdbc.informix.InformixXADataSource
All Implemented Interfaces:
Serializable, Wrapper, Referenceable, ObjectFactory, CommonDataSource, ConnectionPoolDataSource, DataSource, XADataSource

public class InformixXADataSource
extends StandardXADataSource

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.enhydra.jdbc.standard.StandardXADataSource
connectionCount, deadLockMaxWait, deadLockRetryWait, DEFAULT_DEADLOCKMAXWAIT, DEFAULT_DEADLOCKRETRYWAIT, DEFAULT_MAX_CON, DEFAULT_MIN_CON, maxCon, minCon, transactionManager
 
Fields inherited from class org.enhydra.jdbc.standard.StandardConnectionPoolDataSource
DEFAULT_PREPAREDSTMTCACHESIZE
 
Fields inherited from class org.enhydra.jdbc.core.CoreDataSource
logWriter, password, user
 
Fields inherited from class org.enhydra.jdbc.util.JdbcUtil
log
 
Constructor Summary
InformixXADataSource()
           
 
Method Summary
 PooledConnection getPooledConnection()
          Create a pooled connection using the default username and password.
 PooledConnection getPooledConnection(String user, String password)
          Create a informix pooled connection using the supplied username and password.
 XAConnection getXAConnection()
          Creates an XA connection using the default username and password.
 XAConnection getXAConnection(String user, String password)
          Creates an XA connection using the supplied username and password.
 
Methods inherited from class org.enhydra.jdbc.standard.StandardXADataSource
closeFreeConnection, dump, freeConnection, getAllConnections, getConnectionCount, getDeadLockMaxWait, getDeadLockRetryWait, getMaxCon, getMinCon, getObjectInstance, getReference, getTransactionManager, getXidConnections, getXidCount, processToWait, setDeadLockMaxWait, setDeadLockRetryWait, setDriverName, setMaxCon, setMinCon, setPassword, setTransactionManager, setTransactionManagerName, setUrl, setUser, toString
 
Methods inherited from class org.enhydra.jdbc.standard.StandardConnectionPoolDataSource
getMasterPrepStmtCache, getPreparedStmtCacheSize, setPreparedStmtCacheSize
 
Methods inherited from class org.enhydra.jdbc.standard.StandardDataSource
equals, getConnection, getConnection, getDriverName, getTransactionIsolation, getUrl, hashCode, setTransactionIsolation
 
Methods inherited from class org.enhydra.jdbc.core.CoreDataSource
getDescription, getLoginTimeout, getLogWriter, getPassword, getThreadFactory, getUser, isDebug, isVerbose, setDebug, setDescription, setLoginTimeout, setLogWriter, setThreadFactory, setVerbose, shutdown
 
Methods inherited from class org.enhydra.jdbc.util.JdbcUtil
setLogger
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface javax.sql.CommonDataSource
getLoginTimeout, getLogWriter, setLoginTimeout, setLogWriter
 
Methods inherited from interface java.sql.Wrapper
isWrapperFor, unwrap
 

Constructor Detail

InformixXADataSource

public InformixXADataSource()
Method Detail

getXAConnection

public XAConnection getXAConnection()
                             throws SQLException
Creates an XA connection using the default username and password.

Specified by:
getXAConnection in interface XADataSource
Overrides:
getXAConnection in class StandardXADataSource
Throws:
SQLException

getXAConnection

public XAConnection getXAConnection(String user,
                                    String password)
                             throws SQLException
Creates an XA connection using the supplied username and password.

Specified by:
getXAConnection in interface XADataSource
Overrides:
getXAConnection in class StandardXADataSource
Throws:
SQLException

getPooledConnection

public PooledConnection getPooledConnection()
                                     throws SQLException
Create a pooled connection using the default username and password.

Specified by:
getPooledConnection in interface ConnectionPoolDataSource
Overrides:
getPooledConnection in class StandardConnectionPoolDataSource
Throws:
SQLException

getPooledConnection

public PooledConnection getPooledConnection(String user,
                                            String password)
                                     throws SQLException
Create a informix pooled connection using the supplied username and password.

Specified by:
getPooledConnection in interface ConnectionPoolDataSource
Overrides:
getPooledConnection in class StandardConnectionPoolDataSource
Throws:
SQLException


Copyright © 2011. All Rights Reserved.