|
Extension SDK | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectoracle.jdeveloper.cm.JndiConnectionFactory
JndiConnectionFactory
is a simple class which
implements the ConnectionFactory
interface. The
implementation of createConnection
simply returns a
new JndiConnectionWrapper
.
ConnectionFactory
,
JndiConnectionWrapper
Constructor Summary | |
JndiConnectionFactory()
no-arg construction which does nothing. |
Method Summary | |
ConnectionWrapper |
createConnection(ConnectionDescriptor descriptor,
ConnectInfoPrompter prompter,
ConnectionManager manager)
returns a newly created JndiConnectionWrapper . |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public JndiConnectionFactory()
Method Detail |
public ConnectionWrapper createConnection(ConnectionDescriptor descriptor, ConnectInfoPrompter prompter, ConnectionManager manager) throws CMException
JndiConnectionWrapper
.
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
.
JndiConnectionWrapper
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.