electric.sql
Class ConnectionPool
java.lang.Object
electric.sql.ConnectionPool
- All Implemented Interfaces:
- ILoggingConstants, ISQLConstants
- public class ConnectionPool
- extends java.lang.Object
- implements ISQLConstants, ILoggingConstants
ConnectionPool
- Author:
- webMethods
Fields inherited from interface electric.util.log.ILoggingConstants |
CLASSLOADER_EVENT, COMMAND_EVENT, COMMENT_EVENT, CONFIG_EVENT, DEBUG_EVENT, ELECTRIC_LOGGING_PROPERTY, ERROR_EVENT, EXCEPTION_EVENT, FILE_EVENT, LICENSE_EVENT, RESOURCES_EVENT, SECURITY_EVENT, SHUTDOWN_EVENT, SOURCE_EVENT, SQL_EVENT, STARTUP_EVENT, WARNING_EVENT |
Constructor Summary |
ConnectionPool(Context context)
|
ConnectionPool(java.lang.String driverName,
java.lang.String url,
java.lang.String user,
java.lang.String password)
|
ConnectionPool(java.lang.String driverName,
java.lang.String url,
java.lang.String user,
java.lang.String password,
int maxSize)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConnectionPool
public ConnectionPool(java.lang.String driverName,
java.lang.String url,
java.lang.String user,
java.lang.String password)
throws java.lang.Exception
- Parameters:
driverName
- url
- user
- password
-
- Throws:
java.lang.Exception
ConnectionPool
public ConnectionPool(java.lang.String driverName,
java.lang.String url,
java.lang.String user,
java.lang.String password,
int maxSize)
throws java.lang.Exception
- Parameters:
driverName
- url
- user
- password
- maxSize
-
- Throws:
java.lang.Exception
ConnectionPool
public ConnectionPool(Context context)
throws java.lang.Exception
- Parameters:
context
-
- Throws:
java.lang.Exception
checkOutConnection
public java.sql.Connection checkOutConnection()
throws java.sql.SQLException
- Throws:
java.sql.SQLException
checkInConnection
public void checkInConnection(java.sql.Connection connection)
- Parameters:
connection
-
connectionClosed
public void connectionClosed()
throws java.sql.SQLException
- Throws:
java.sql.SQLException
enable
public static void enable()
disable
public static void disable()
copyright© 2001-2004 by webMethods All Rights Reserved.