|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectDbApplicationConnectionFactoryImpl
com.stc.connector.oracleappsadapter.appconn.OracleappsApplicationConnectionFactory
A factory class for creating OracleappsApplicationConnection.
Constructor Summary | |
OracleappsApplicationConnectionFactory(javax.sql.DataSource ds)
Creates a new instance of OracleappsApplicationConnectionFactory. |
|
OracleappsApplicationConnectionFactory(javax.sql.DataSource ds,
ConnectionManager cm)
Creates a new instance of DbApplicationConnectionFactory. |
Method Summary | |
ApplicationConnection |
getConnection()
Gets the Db Application Connection which represents a connection handle to the underlying Db EIS. |
ApplicationConnection |
getConnection(java.util.Properties connProps)
Gets the Application Connection which represents a connection handle to the underlying EIS using the connection information in the Properties. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public OracleappsApplicationConnectionFactory(javax.sql.DataSource ds)
ds
- a DataSource instance used for creating a connection.public OracleappsApplicationConnectionFactory(javax.sql.DataSource ds, ConnectionManager cm)
ds
- the ManagedConnection which created this connection.
In database, this is the DataSource.cm
- a ConnectionManager instance.Method Detail |
public ApplicationConnection getConnection() throws ApplicationConnectionException
ApplicationConnectionException
- upon error.public ApplicationConnection getConnection(java.util.Properties connProps) throws ApplicationConnectionException
connProps
- Properties containing connection specific information.
ApplicationConnectionException
- upon error.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright 2006 by Sun Microsystems, Inc. All Rights Reserved.