ilog.views.maps.format.oracle
Class IlvDefaultSDOConnectionFactory

java.lang.Object
  extended by ilog.views.maps.format.oracle.IlvDefaultSDOConnectionFactory
All Implemented Interfaces:
IlvSDOConnectionFactory

public class IlvDefaultSDOConnectionFactory
extends Object
implements IlvSDOConnectionFactory

The default connection factory using an AWT dialog box. This class is used when an .ivl file containing an IlvSDOLayer is read. If the password required to open the connection to an Oracle database was not saved in the file, this connection factory displays an AWT dialog box where the user can enter the connection parameters.

This connection factory is returned by default by IlvSDOConnection.GetConnectionFactory.

Since:
JViews 3.0
See Also:
IlvSDOConnection.GetConnectionFactory()

Constructor Summary
IlvDefaultSDOConnectionFactory()
          Initializes an instance of IlvDefaultSDOConnectionFactory.
 
Method Summary
 Dialog 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IlvDefaultSDOConnectionFactory

public IlvDefaultSDOConnectionFactory()
Initializes an instance of IlvDefaultSDOConnectionFactory.

Method Detail

getDialog

public Dialog getDialog()
Returns the dialog box used to enter the connection parameters.


makeConnection

public void makeConnection(IlvSDOConnection conn)
This method is called when an 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.

Specified by:
makeConnection in interface IlvSDOConnectionFactory


Copyright © 1996-2007 ILOG S.A. All rights reserved.   Documentation homepage.