public class IlvDefaultSDOJConnectionFactory extends Object implements IlvSDOConnectionFactory
.ivl
file containing an
IlvSDOLayer
object is read. If the password required to open
the connection to an Oracle database was not saved in the file,
this connection factory displays a
Swing dialog box where the user can enter the connection parameters.
The default connection factory uses an AWT dialog box, but this Swing
connection factory can be installed by an application using
IlvSDOConnection.SetConnectionFactory
.
IlvSDOConnection.SetConnectionFactory(ilog.views.maps.format.oracle.IlvSDOConnectionFactory)
Constructor and Description |
---|
IlvDefaultSDOJConnectionFactory()
Initializes an instance of
IlvDefaultSDOJConnectionFactory . |
Modifier and Type | Method and Description |
---|---|
JDialog |
getDialog()
Returns the dialog box used to enter the connection parameters.
|
void |
makeConnection(IlvSDOConnection conn)
This method is called when an
IlvSDOLayer object
requires an
Oracle connection. |
public IlvDefaultSDOJConnectionFactory()
IlvDefaultSDOJConnectionFactory
.public JDialog getDialog()
public void makeConnection(IlvSDOConnection conn)
IlvSDOLayer
object
requires an
Oracle connection. If the connection information is not sufficient to
create a connection to an Oracle database, a dialog box is displayed asking
the user to enter the connection parameters.makeConnection
in interface IlvSDOConnectionFactory
© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.