|
Extension SDK | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectoracle.jdeveloper.cm.JdbcConnectionFactory
JdbcConnectionFactory
is a simple class which
implements the ConnectionFactory
interface. The
implementation of createConnection
simply returns a
new JdbcConnectionWrapper
.
ConnectionFactory
,
JdbcConnectionWrapper
Constructor Summary | |
JdbcConnectionFactory()
no-arg construction which does nothing. |
Method Summary | |
ConnectionWrapper |
createConnection(ConnectionDescriptor descriptor,
ConnectInfoPrompter prompter,
ConnectionManager manager)
returns a newly created JdbcConnectionWrapper . |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public JdbcConnectionFactory()
Method Detail |
public ConnectionWrapper createConnection(ConnectionDescriptor descriptor, ConnectInfoPrompter prompter, ConnectionManager manager) throws CMException
JdbcConnectionWrapper
.
createConnection
in interface ConnectionFactory
descriptor
- the ConnectionDescriptor
which
defines the connection properties.prompter
- a ConnectInfoPrompter
to use to get
the user connection information.manager
- the ConnectionManager
responsible for
managing the lifecycle of the returned
ConnectionWrapper
.
JdbcConnectionWrapper
based on the passed-in
ConnectionDescriptor
.
CMException
- is thrown if something goes wrong during
the connection creation process.ConnectInfoPrompter
|
Extension SDK | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright ©1997, 2003, Oracle. All rights reserved.