All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.lgeds.jdf.db.pool.JdbcConnSpec

java.lang.Object
   |
   +----com.lgeds.jdf.db.pool.JdbcConnSpec

public class JdbcConnSpec
extends Object

Constructor Index

 o JdbcConnSpec(Properties)
 o JdbcConnSpec(String, String, String, String)

Method Index

 o equals(JdbcConnSpec)
 o getDriver()
 o getPassword()
 o getProperties()
 o getURL()
 o getUser()

Constructors

 o JdbcConnSpec
 public JdbcConnSpec(String driver,
                     String url,
                     String user,
                     String password)
Parameters:
driver - JdbcDriver : "oracle.jdbc.driver.OracleDriver"
url - Connection URL : "jdbc:oracle:thin:@power:1521:ORA8i"
user - USER : "scott"
password - Password : tiger"
See Also:
JdbcConnSpec
 o JdbcConnSpec
 public JdbcConnSpec(Properties props)
Parameters:
props - Connection Properties : include "driver", "url", "user", "password" and others you want. The other properties will be used when "DriverManager.getConnection(url, props)" is called.

Methods

 o equals
 public boolean equals(JdbcConnSpec spec)
Parameters:
spec - com.lgeds.jdf.db.pool.JdbcConnSpec
Returns:
return true if all of driver, url, user and password is the same.
 o getDriver
 public String getDriver()
Returns:
The string representation of the JDBC driver.
 o getPassword
 public String getPassword()
Returns:
password
 o getProperties
 public Properties getProperties()
Returns:
java.util.Properties included driver, url, user, password and others.
 o getURL
 public String getURL()
Returns:
The string representation of DB Connection URL.
 o getUser
 public String getUser()
Returns:
user ID for connection.

All Packages  Class Hierarchy  This Package  Previous  Next  Index