EspressChart
v 5.5

quadbase.util
Interface IJNDIDatabaseInfo

All Superinterfaces:
quadbase.common.util.IJNDIDatabaseInfo

public interface IJNDIDatabaseInfo
extends quadbase.common.util.IJNDIDatabaseInfo

This interface provides information about the database and query related to a chart. The quadbase.ChartAPI.DBInfo class provides an implementation of this interface.

See Also:
DBInfo

Method Summary
 java.sql.Connection getConnection()
          Gets the connection object, if one exists
 java.util.Hashtable getEnvProperties()
          Gets environment properties of the initial context
 java.lang.String getJNDIName()
          Gets the JNDI datasource lookup name
 java.lang.String getQuery()
          Gets the SQL query
 java.sql.Connection openConnection()
          Gets the connection object to the database
 

Method Detail

getJNDIName

public java.lang.String getJNDIName()
Gets the JNDI datasource lookup name
Specified by:
getJNDIName in interface quadbase.common.util.IJNDIDatabaseInfo

getEnvProperties

public java.util.Hashtable getEnvProperties()
Gets environment properties of the initial context
Specified by:
getEnvProperties in interface quadbase.common.util.IJNDIDatabaseInfo

getQuery

public java.lang.String getQuery()
Gets the SQL query
Specified by:
getQuery in interface quadbase.common.util.IJNDIDatabaseInfo

getConnection

public java.sql.Connection getConnection()
Gets the connection object, if one exists
Specified by:
getConnection in interface quadbase.common.util.IJNDIDatabaseInfo

openConnection

public java.sql.Connection openConnection()
                                   throws java.lang.Exception
Gets the connection object to the database
Specified by:
openConnection in interface quadbase.common.util.IJNDIDatabaseInfo

EspressChart
v 5.5