|
Sun Adapter for DB2 Universal Database | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.stc.connector.db2adapter.appconn.DbApplicationConnection
public class DbApplicationConnection
This class implements the ApplicationConnection interface for the Db Application Connection.
Field Summary | |
---|---|
protected com.stc.connector.db.DbConnector |
mDbConnector
A database connector which provides an entry point to all the DB eWay services. |
Constructor Summary | |
---|---|
DbApplicationConnection()
Default constructor. |
|
DbApplicationConnection(javax.sql.DataSource ds)
Creates a new instance of DbApplicationConnection. |
|
DbApplicationConnection(javax.sql.DataSource ds,
java.util.Properties connProps)
Creates a new instance of DbApplicationConnection. |
Method Summary | |
---|---|
void |
close()
Closes the application connection handle using the cci conn handle |
java.lang.Object |
createApplication(java.lang.String appName)
Creates an Application from the Application Connection. |
com.stc.connector.appconn.common.OutputHandler |
createOutputHandler()
Creates an OutputHandler for "sending" data to the EIS. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected com.stc.connector.db.DbConnector mDbConnector
Constructor Detail |
---|
public DbApplicationConnection()
public DbApplicationConnection(javax.sql.DataSource ds)
ds
- the ManagedConnection which created this connection.
In database, this is the DataSource.public DbApplicationConnection(javax.sql.DataSource ds, java.util.Properties connProps)
ds
- the ManagedConnection which created this connection.
In database, this is the DataSource.connProps
- connection properties. An example is user name.Method Detail |
---|
public void close() throws com.stc.connector.appconn.common.ApplicationConnectionException
close
in interface com.stc.connector.appconn.common.ApplicationConnection
com.stc.connector.appconn.common.ApplicationConnectionException
- upon error.public java.lang.Object createApplication(java.lang.String appName) throws com.stc.connector.appconn.common.ApplicationException
createApplication
in interface com.stc.connector.appconn.common.ApplicationConnection
appName
- name of the application. In case of DB,
this is the OTD name.
com.stc.connector.appconn.common.ApplicationException
- upon error.public com.stc.connector.appconn.common.OutputHandler createOutputHandler() throws com.stc.connector.appconn.common.ApplicationException
createOutputHandler
in interface com.stc.connector.appconn.common.ApplicationConnection
com.stc.connector.appconn.common.ApplicationException
- upon error.
|
Sun Adapter for DB2 Universal Database | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |