Sun Adapter for DB2 Universal Database

com.stc.connector.db2adapter.appconn
Class Db2ApplicationConnection

java.lang.Object
  extended by com.stc.connector.db2adapter.appconn.DbApplicationConnection
      extended by 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 $

Field Summary
 
Fields inherited from class com.stc.connector.db2adapter.appconn.DbApplicationConnection
mDbConnector
 
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 .
 
Method Summary
 com.stc.connector.db.DbConnector getDbConnector()
           
 
Methods inherited from class com.stc.connector.db2adapter.appconn.DbApplicationConnection
close, createApplication, createOutputHandler
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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
Method Detail

getDbConnector

public com.stc.connector.db.DbConnector getDbConnector()
Parameters:
-
Returns:
Throws:
See Also:

Sun Adapter for DB2 Universal Database