| 
 | Sun Adapter for Oracle Applications API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.stc.connector.oracleadapter.base.SessionFactory
public class SessionFactory
Factory to create a Session instance.
| Constructor Summary | |
|---|---|
| SessionFactory()Creates a new session factory. | |
| Method Summary | |
|---|---|
| static com.stc.connector.db.Session | createSession(java.lang.Class clsSession,
              javax.sql.DataSource ds,
              java.util.Properties propsConn)Creates a new session instance based on given properties. | 
| Methods inherited from class java.lang.Object | 
|---|
| equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public SessionFactory()
| Method Detail | 
|---|
public static com.stc.connector.db.Session createSession(java.lang.Class clsSession,
                                                         javax.sql.DataSource ds,
                                                         java.util.Properties propsConn)
                                                  throws java.lang.Exception
clsSession - The session class.ds - DataSource to connect to the database.propsConn - connection properties.
java.lang.Exception - when there are problems in instantiating a Session object.| 
 | Sun Adapter for Oracle Applications API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||