| 
 | 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.AgentFactoryImpl
public class AgentFactoryImpl
Statement agent factory
| Constructor Summary | |
|---|---|
| AgentFactoryImpl(com.stc.connector.db.Session session)Creates a new AgentFactory. | |
| Method Summary | |
|---|---|
|  com.stc.connector.appconn.db.StatementAgent | getInstance(java.lang.Class clsAgent)Gets a statement agent instance. | 
|  com.stc.connector.appconn.db.StatementAgent | getInstance(java.lang.Class clsAgent,
            int iScroll,
            int iConcur)Gets a StatementAgent instance with the specified resultset and concurrency types. | 
|  com.stc.connector.appconn.db.StatementAgent | lookup(java.lang.String sName)Lookups a StatementAgent instance using its class name. | 
|  void | release()Releases agent factory resources. | 
| Methods inherited from class java.lang.Object | 
|---|
| equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public AgentFactoryImpl(com.stc.connector.db.Session session)
session - a Session instance used for creating StatementAgent instance.| Method Detail | 
|---|
public com.stc.connector.appconn.db.StatementAgent lookup(java.lang.String sName)
lookup in interface com.stc.connector.db.AgentFactorysName - a StatementAgent name.
public void release()
release in interface com.stc.connector.db.AgentFactory
public com.stc.connector.appconn.db.StatementAgent getInstance(java.lang.Class clsAgent)
                                                        throws java.lang.Exception
getInstance in interface com.stc.connector.db.AgentFactoryclsAgent - class of StatementAgent
java.lang.Exception - any exception related to instance creation
public com.stc.connector.appconn.db.StatementAgent getInstance(java.lang.Class clsAgent,
                                                               int iScroll,
                                                               int iConcur)
                                                        throws java.lang.Exception
getInstance in interface com.stc.connector.db.AgentFactoryclsAgent - class of StatementAgentiScroll - resultset type; TYPE_FORWARD_ONLY, TYPE_SCROLL_INSENSITIVE, TYPE_SCROLL_SENSITIVEiConcur - concurrency type; CONCUR_READ_ONLY, CONCUR_UPDATABLE
java.lang.Exception - any exception related to instance creation| 
 | Sun Adapter for Oracle Applications API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||