com.stc.connector.db2adapter.appconn
Class Db2ApplicationConnection
java.lang.Object
com.stc.connector.db2adapter.appconn.DbApplicationConnection
com.stc.connector.db2adapter.appconn.Db2ApplicationConnection
- All Implemented Interfaces:
- com.stc.connector.appconn.common.ApplicationConnection
public class Db2ApplicationConnection
- extends DbApplicationConnection
This class implements the ApplicationConnection interface for the
Db Application Connection.
- Version:
- $Revision: 1.8 $
- Author:
- $Author: afung $
Constructor Summary |
Db2ApplicationConnection(javax.sql.DataSource ds)
Creates a new instance of Db2ApplicationConnection . |
Db2ApplicationConnection(javax.sql.DataSource ds,
java.util.Properties connProps)
Creates a new instance of Db2ApplicationConnection . |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Db2ApplicationConnection
public Db2ApplicationConnection(javax.sql.DataSource ds)
throws java.lang.Exception
- Creates a new instance of Db2ApplicationConnection .
- Parameters:
ds
- the ManagedConnection which created this connection.
In database, this is the DataSource.
- Throws:
java.lang.Exception
Db2ApplicationConnection
public Db2ApplicationConnection(javax.sql.DataSource ds,
java.util.Properties connProps)
throws java.lang.Exception
- Creates a new instance of Db2ApplicationConnection .
- Parameters:
ds
- the ManagedConnection which created this connection.
In database, this is the DataSource.connProps
- connection properties. An example is user name.
- Throws:
java.lang.Exception
getDbConnector
public com.stc.connector.db.DbConnector getDbConnector()
- Parameters:
-
- Returns:
-
- Throws:
- See Also: