com.safeidentity.adminservice.loadbalance.db
Class DBConnectionPool

java.lang.Object
  extended bycom.safeidentity.adminservice.loadbalance.db.DBConnectionPool
All Implemented Interfaces:
ConnectionPool

public class DBConnectionPool
extends java.lang.Object
implements ConnectionPool


Constructor Summary
DBConnectionPool(java.lang.String uniqueId, ServerConfig config)
           
 
Method Summary
 void destroy()
           
 PooledConnection getConnection()
          Ä¿³Ø¼ÇÀ» °¡Á®¿Â´Ù.
 java.lang.String getId()
           
 void releaseConnection(PooledConnection connection)
           
 void setId(java.lang.String id)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DBConnectionPool

public DBConnectionPool(java.lang.String uniqueId,
                        ServerConfig config)
                 throws SFInitDaoException
Method Detail

getId

public java.lang.String getId()
Specified by:
getId in interface ConnectionPool

setId

public void setId(java.lang.String id)
Specified by:
setId in interface ConnectionPool

destroy

public void destroy()
Specified by:
destroy in interface ConnectionPool

getConnection

public PooledConnection getConnection()
                               throws java.lang.Exception
Description copied from interface: ConnectionPool
Ä¿³Ø¼ÇÀ» °¡Á®¿Â´Ù.

Specified by:
getConnection in interface ConnectionPool
Returns:
Throws:
java.lang.Exception

releaseConnection

public void releaseConnection(PooledConnection connection)
Specified by:
releaseConnection in interface ConnectionPool


Copyright © 2004 SoftForum Corp. All Rights Reserved.