com.adhi.adhij
Class ApplicationParam

java.lang.Object
  extended by com.adhi.adhij.ApplicationParam

public class ApplicationParam
extends java.lang.Object

Defines the application parameters

Author:
DKRISHNA

Field Summary
static java.lang.String CONNECTION_URL
          field name the connection url
static java.lang.String DATA_SOURCE
          field name of the data source
static java.lang.String DB_PASSWORD
          field name of the password
static java.lang.String DB_USER
          field name of the user name
static java.lang.String JDBC_DRIVER
          field name of the jdbc driver
static java.lang.String PROPERTY_FILE
          the name of the property file
 
Constructor Summary
ApplicationParam()
           
 
Method Summary
static java.lang.Object getValue(java.lang.String key)
          returns the corresponding value for the key
static void load()
          loads the property file
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DATA_SOURCE

public static final java.lang.String DATA_SOURCE
field name of the data source

See Also:
Constant Field Values

JDBC_DRIVER

public static final java.lang.String JDBC_DRIVER
field name of the jdbc driver

See Also:
Constant Field Values

CONNECTION_URL

public static final java.lang.String CONNECTION_URL
field name the connection url

See Also:
Constant Field Values

DB_USER

public static final java.lang.String DB_USER
field name of the user name

See Also:
Constant Field Values

DB_PASSWORD

public static final java.lang.String DB_PASSWORD
field name of the password

See Also:
Constant Field Values

PROPERTY_FILE

public static final java.lang.String PROPERTY_FILE
the name of the property file

See Also:
Constant Field Values
Constructor Detail

ApplicationParam

public ApplicationParam()
Method Detail

load

public static void load()
loads the property file


getValue

public static java.lang.Object getValue(java.lang.String key)
returns the corresponding value for the key

Parameters:
key - the key
Returns:
the corresponding value for the key