de.akquinet.jbosscc.needle.db.operation
Class JdbcConfiguration

java.lang.Object
  extended by de.akquinet.jbosscc.needle.db.operation.JdbcConfiguration

public class JdbcConfiguration
extends Object

JDBC configuration properties.


Constructor Summary
JdbcConfiguration(String jdbcUrl, String jdbcDriver, String jdbcUser, String jdbcPassword)
          Creates an instance of JdbcConfiguration
 
Method Summary
 String getJdbcDriver()
          Returns the name of the JDBC driver to be used to connect to the database.
 String getJdbcPassword()
          Returns the password to be used to connect to the database.
 String getJdbcUrl()
          Returns the JDBC connection url to be used to connect to the database
 String getJdbcUser()
          Returns the user name to be used to connect to the database.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JdbcConfiguration

public JdbcConfiguration(String jdbcUrl,
                         String jdbcDriver,
                         String jdbcUser,
                         String jdbcPassword)
Creates an instance of JdbcConfiguration

Parameters:
jdbcUrl - the JDBC connection url to use to connect to the database
jdbcDriver - the name of a JDBC driver to use to connect to the database
jdbcUser - the JDBC connection user name
jdbcPassword - the JDBC connection password
Method Detail

getJdbcUrl

public String getJdbcUrl()
Returns the JDBC connection url to be used to connect to the database

Returns:
the JDBC connection url

getJdbcDriver

public String getJdbcDriver()
Returns the name of the JDBC driver to be used to connect to the database.

Returns:
the jdbc driver name

getJdbcUser

public String getJdbcUser()
Returns the user name to be used to connect to the database.

Returns:
the jdbc user name

getJdbcPassword

public String getJdbcPassword()
Returns the password to be used to connect to the database.

Returns:
the JDBC connection password


Copyright © 2013 akquinet AG. All Rights Reserved.