org.enhydra.jdbc.oracle
Class OracleXADataSource
java.lang.Object
org.enhydra.jdbc.util.JdbcUtil
org.enhydra.jdbc.core.CoreDataSource
org.enhydra.jdbc.standard.StandardDataSource
org.enhydra.jdbc.standard.StandardConnectionPoolDataSource
org.enhydra.jdbc.standard.StandardXADataSource
org.enhydra.jdbc.oracle.OracleXADataSource
- All Implemented Interfaces:
- java.io.Serializable, javax.naming.Referenceable, javax.naming.spi.ObjectFactory, javax.sql.ConnectionPoolDataSource, javax.sql.DataSource, javax.sql.XADataSource
public class OracleXADataSource
- extends StandardXADataSource
- implements javax.sql.XADataSource
Data source for creating IdbXAConnections.
- See Also:
- Serialized Form
Fields inherited from class org.enhydra.jdbc.util.JdbcUtil |
log |
Method Summary |
java.lang.Object |
getObjectInstance(java.lang.Object refObj,
javax.naming.Name name,
javax.naming.Context nameCtx,
java.util.Hashtable env)
The factory interface. |
javax.sql.XAConnection |
getXAConnection()
Creates an XA connection using the default username and password. |
javax.sql.XAConnection |
getXAConnection(java.lang.String user,
java.lang.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, getTransactionManager, getXidConnections, getXidCount, processToWait, setDeadLockMaxWait, setDeadLockRetryWait, setDriverName, setMaxCon, setMinCon, setPassword, setTransactionManager, setUrl, setUser, toString |
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 java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface javax.sql.XADataSource |
getLoginTimeout, getLogWriter, setLoginTimeout, setLogWriter |
Methods inherited from interface javax.sql.ConnectionPoolDataSource |
getLoginTimeout, getLogWriter, setLoginTimeout, setLogWriter |
Methods inherited from interface javax.sql.DataSource |
getLoginTimeout, getLogWriter, setLoginTimeout, setLogWriter |
OracleXADataSource
public OracleXADataSource()
- Constructor.
getXAConnection
public javax.sql.XAConnection getXAConnection()
throws java.sql.SQLException
- Creates an XA connection using the default username and password.
- Specified by:
getXAConnection
in interface javax.sql.XADataSource
- Overrides:
getXAConnection
in class StandardXADataSource
- Throws:
java.sql.SQLException
getXAConnection
public javax.sql.XAConnection getXAConnection(java.lang.String user,
java.lang.String password)
throws java.sql.SQLException
- Creates an XA connection using the supplied username and password.
- Specified by:
getXAConnection
in interface javax.sql.XADataSource
- Overrides:
getXAConnection
in class StandardXADataSource
- Throws:
java.sql.SQLException
getObjectInstance
public java.lang.Object getObjectInstance(java.lang.Object refObj,
javax.naming.Name name,
javax.naming.Context nameCtx,
java.util.Hashtable env)
throws java.lang.Exception
- The factory interface.
- Specified by:
getObjectInstance
in interface javax.naming.spi.ObjectFactory
- Overrides:
getObjectInstance
in class StandardDataSource
- Throws:
java.lang.Exception