|
Extension SDK | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ConnectionFactory
is an interface defined so that
ConnectionManager
need not know anything about how to
actually create connection objects. This allows developers to make
use of ConnectionManager
without pulling in unused
classes when they deploy their projects via the JDeveloper
Deployment Wizard.
ConnectionManager
Method Summary | |
ConnectionWrapper |
createConnection(ConnectionDescriptor descriptor,
ConnectInfoPrompter prompter,
ConnectionManager manager)
creates a ConnectionWrapper object. |
Method Detail |
public ConnectionWrapper createConnection(ConnectionDescriptor descriptor, ConnectInfoPrompter prompter, ConnectionManager manager) throws CMException
ConnectionWrapper
object. The actual
implementations of this interface will most likely return
subclasses of ConnectionWrapper
which are more
appropriate for the actual type of connection.
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
.
ConnectionWrapper
appropriate to the type
of connection described by descriptor
.
CMException
- is thrown if something goes wrong during
the connection creation process.ConnectionDescriptor
,
ConnectInfoPrompter
,
ConnectionManager
,
ConnectionWrapper
,
CMException
|
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.