com.jdbaccess.db
Class JDBAccess

java.lang.Object
  extended by com.jdbaccess.db.JDBAccess

public class JDBAccess
extends java.lang.Object


Constructor Summary
JDBAccess()
           
 
Method Summary
static void end()
           
static byte[] getBlueElephantBytes()
           
static ConnPool getConnPool(java.lang.String connPoolName)
           
static DataSource getDataSource()
           
static DataSource getDataSource(java.lang.String dataSourceName)
           
static byte[] getIconBytes()
           
static java.awt.Image getIconImage()
           
static java.awt.Image getLogoImage()
           
static java.lang.String getName()
           
static QueryConnPool getQueryConnPool(java.lang.String queryConnPoolName)
           
static StatementPool getStmtPool(java.lang.String stmtPoolName)
           
static boolean isOfTypeMySql()
           
static boolean isOfTypeOracle()
           
static boolean isStarted()
           
static void setDataSource(DataSource dataSource)
           
static void setDataSource(DataSource dataSource, boolean debugMode)
           
static void start()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JDBAccess

public JDBAccess()
Method Detail

getName

public static java.lang.String getName()

setDataSource

public static void setDataSource(DataSource dataSource,
                                 boolean debugMode)

setDataSource

public static void setDataSource(DataSource dataSource)

getDataSource

public static DataSource getDataSource()

getDataSource

public static DataSource getDataSource(java.lang.String dataSourceName)

getConnPool

public static ConnPool getConnPool(java.lang.String connPoolName)

getQueryConnPool

public static QueryConnPool getQueryConnPool(java.lang.String queryConnPoolName)

getStmtPool

public static StatementPool getStmtPool(java.lang.String stmtPoolName)

start

public static void start()
                  throws ApplicationException
Throws:
ApplicationException

end

public static void end()
                throws ApplicationException
Throws:
ApplicationException

isStarted

public static boolean isStarted()

isOfTypeOracle

public static boolean isOfTypeOracle()
Returns:
true if the database manufacturer for the data source is Oracle (type of the JDBC driver)

isOfTypeMySql

public static boolean isOfTypeMySql()
Returns:
true if the database manufacturer for the data source is mySQL (type of the JDBC driver)

getLogoImage

public static java.awt.Image getLogoImage()

getIconImage

public static java.awt.Image getIconImage()

getIconBytes

public static byte[] getIconBytes()
                           throws ApplicationException
Throws:
ApplicationException

getBlueElephantBytes

public static byte[] getBlueElephantBytes()
                                   throws ApplicationException
Throws:
ApplicationException