asjava.uniobjects
Class UniProperties

java.lang.Object
  extended byasjava.uniobjects.UniProperties

public final class UniProperties
extends java.lang.Object

UniProperties is used to control "uoj.properties" file. It loads connection pooling parameters from "uoj.properties" file.

Author:
rajank

Constructor Summary
UniProperties()
          This is no argument constructor.
 
Method Summary
 int getPropertyInt(java.lang.String uojKey)
          Searches for the property with the specified key in this property list.
 java.lang.String getPropertyString(java.lang.String uojKey)
          Searches for the property with the specified key in this property list.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UniProperties

public UniProperties()
This is no argument constructor. In the constructor, it loads "uoj.properties" parameters.

Method Detail

getPropertyInt

public int getPropertyInt(java.lang.String uojKey)
                   throws UniSessionException
Searches for the property with the specified key in this property list.

Parameters:
uojKey -
Returns:
the integer value in this property list with the specified key value.
Throws:
UniSessionException

getPropertyString

public java.lang.String getPropertyString(java.lang.String uojKey)
                                   throws UniSessionException
Searches for the property with the specified key in this property list.

Parameters:
uojKey -
Returns:
the integer value in this property list with the specified key value.
Throws:
UniSessionException