Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

safejdbc
Class SimpleConProvider  view SimpleConProvider download SimpleConProvider.java

java.lang.Object
  extended bysafejdbc.SimpleConProvider
All Implemented Interfaces:
ConnectionProvider

Deprecated. Don't use this class anymore. You should use SimpleConnectionProvider instead.

public class SimpleConProvider
extends java.lang.Object
implements ConnectionProvider


Field Summary
private  java.sql.Driver _driver
          Deprecated.  
private  java.util.Properties _info
          Deprecated.  
private  java.lang.String _url
          Deprecated.  
 
Constructor Summary
SimpleConProvider(java.lang.String url, java.util.Properties info, java.lang.String drivername)
          Deprecated. Don't use this class anymore. You should use SimpleConnectionProvider instead.
SimpleConProvider(java.lang.String user, java.lang.String password, java.lang.String url, java.lang.String drivername)
          Deprecated. Don't use this class anymore. You should use SimpleConnectionProvider instead.
 
Method Summary
 java.sql.Connection getConnection()
          Deprecated. This method is called to actually give the connection
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_driver

private java.sql.Driver _driver
Deprecated. 

_url

private java.lang.String _url
Deprecated. 

_info

private java.util.Properties _info
Deprecated. 
Constructor Detail

SimpleConProvider

public SimpleConProvider(java.lang.String user,
                         java.lang.String password,
                         java.lang.String url,
                         java.lang.String drivername)
                  throws java.lang.Exception
Deprecated. Don't use this class anymore. You should use SimpleConnectionProvider instead.


SimpleConProvider

public SimpleConProvider(java.lang.String url,
                         java.util.Properties info,
                         java.lang.String drivername)
                  throws java.lang.Exception
Deprecated. Don't use this class anymore. You should use SimpleConnectionProvider instead.

Method Detail

getConnection

public java.sql.Connection getConnection()
                                  throws java.sql.SQLException
Deprecated. Don't use this class anymore. You should use SimpleConnectionProvider instead.

Description copied from interface: ConnectionProvider
This method is called to actually give the connection

Specified by:
getConnection in interface ConnectionProvider