|
Sun Adapter Common API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface AgentFactory
Interface of AgentFactory. Implementation of this class will support the creation of different StatementAgent instances.
| 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. |
| Method Detail |
|---|
void release()
com.stc.connector.appconn.db.StatementAgent getInstance(java.lang.Class clsAgent)
throws java.lang.Exception
clsAgent - class of StatementAgent
java.lang.Exception - any exception related to instance creation
com.stc.connector.appconn.db.StatementAgent getInstance(java.lang.Class clsAgent,
int iScroll,
int iConcur)
throws java.lang.Exception
clsAgent - 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 creationcom.stc.connector.appconn.db.StatementAgent lookup(java.lang.String sName)
sName - a StatementAgent name.
|
Sun Adapter Common API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||