org.eclipse.datatools.enablement.ibm.internal.informix
Class JDBCInformixConnectionFactory

java.lang.Object
  extended by org.eclipse.datatools.enablement.ibm.internal.informix.JDBCInformixConnectionFactory
All Implemented Interfaces:
IConnectionFactory

public class JDBCInformixConnectionFactory
extends java.lang.Object
implements IConnectionFactory


Constructor Summary
JDBCInformixConnectionFactory()
           
 
Method Summary
 IConnection createConnection(IConnectionProfile profile)
          This method creates a connection to a server based on the properties specified by the connection profile.
 IConnection createConnection(IConnectionProfile profile, java.lang.String uid, java.lang.String pwd)
          This method creates a connection to a server based on the properties specified by the connection profile.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JDBCInformixConnectionFactory

public JDBCInformixConnectionFactory()
Method Detail

createConnection

public IConnection createConnection(IConnectionProfile profile)
Description copied from interface: IConnectionFactory
This method creates a connection to a server based on the properties specified by the connection profile. This method uses the user id and password specified in the profile.

Specified by:
createConnection in interface IConnectionFactory
Parameters:
profile - the profile to connect to.
Returns:
a connection if successful

createConnection

public IConnection createConnection(IConnectionProfile profile,
                                    java.lang.String uid,
                                    java.lang.String pwd)
Description copied from interface: IConnectionFactory
This method creates a connection to a server based on the properties specified by the connection profile. This method uses the user id and password specified in the method call.

Specified by:
createConnection in interface IConnectionFactory
Parameters:
profile - the profile to connect to.
uid - the user id to use
pwd - the password to use
Returns:
a connection if successful