com.arsdigita.persistence
Class PooledConnectionSource

java.lang.Object
  extended bycom.arsdigita.persistence.PooledConnectionSource
All Implemented Interfaces:
ConnectionSource

public class PooledConnectionSource
extends Object
implements ConnectionSource

PooledConnectionSource

Version:
$Revision: #4 $ $Date: 2004/04/07 $
Author:
Rafael H. Schloming <rhs@mit.edu>

Field Summary
static String versionId
           
 
Constructor Summary
PooledConnectionSource(String url, int size, long interval)
           
 
Method Summary
 Connection acquire()
           
 void release(Connection conn)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

versionId

public static final String versionId
See Also:
Constant Field Values
Constructor Detail

PooledConnectionSource

public PooledConnectionSource(String url,
                              int size,
                              long interval)
Method Detail

acquire

public Connection acquire()
Specified by:
acquire in interface ConnectionSource

release

public void release(Connection conn)
Specified by:
release in interface ConnectionSource


Copyright (c) 2004 Red Hat, Inc. Corporation. All Rights Reserved. Generated at July 21 2004:2337 UTC