|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface of AgentFactory. Implementation of this class will support the creation of different StatementAgent instances.
Method Summary | |
StatementAgent |
getInstance(java.lang.Class clsAgent)
Gets a statement agent instance. |
StatementAgent |
getInstance(java.lang.Class clsAgent,
int iScroll,
int iConcur)
Gets a StatementAgent instance with the specified resultset and concurrency types. |
StatementAgent |
lookup(java.lang.String sName)
Looks up a StatementAgent instance using its class name. |
void |
release()
Releases agent factory resources. |
Method Detail |
public StatementAgent getInstance(java.lang.Class clsAgent) throws java.lang.Exception
clsAgent
- class of StatementAgentjava.lang.Exception
- any exception related to instance creationpublic 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 creationpublic StatementAgent lookup(java.lang.String sName)
sName
- a StatementAgent name.
public void release()
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright 2004 by SeeBeyond Technology Corporation. All Rights Reserved.