You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by jm...@apache.org on 2003/10/13 07:29:36 UTC
cvs commit: jakarta-commons/dbcp/src/java/org/apache/commons/dbcp/datasources InstanceKeyDataSource.java
jmcnally 2003/10/12 22:29:36
Modified: dbcp/src/java/org/apache/commons/dbcp/datasources
InstanceKeyDataSource.java
Log:
making the class public to support usage within torque.
Revision Changes Path
1.8 +7 -12 jakarta-commons/dbcp/src/java/org/apache/commons/dbcp/datasources/InstanceKeyDataSource.java
Index: InstanceKeyDataSource.java
===================================================================
RCS file: /home/cvs/jakarta-commons/dbcp/src/java/org/apache/commons/dbcp/datasources/InstanceKeyDataSource.java,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- InstanceKeyDataSource.java 13 Oct 2003 05:06:00 -0000 1.7
+++ InstanceKeyDataSource.java 13 Oct 2003 05:29:36 -0000 1.8
@@ -84,7 +84,9 @@
/**
* <p>The base class for <code>SharedPoolDataSource</code> and
* <code>PerUserPoolDataSource</code>. Many of the configuration properties
- * are shared and defined here.
+ * are shared and defined here. This class is declared public in order
+ * to allow particular usage with commons-beanutils; do not make direct
+ * use of it outside of commons-dbcp.
* </p>
*
* <p>
@@ -108,13 +110,6 @@
* </p>
*
* <p>
- * If this <code>DataSource</code> is requested via JNDI multiple times,
- * it maintains state between lookups. Also, multiple instances can be
- * deployed using different backend <code>ConnectionPoolDataSource</code>
- * sources.
- * </p>
- *
- * <p>
* The dbcp package contains an adapter,
* {@link org.apache.commons.dbcp.cpdsadapter.DriverAdapterCPDS},
* that can be used to allow the use of <code>DataSource</code>'s based on this
@@ -131,7 +126,7 @@
* @author <a href="mailto:jmcnally@collab.net">John D. McNally</a>
* @version $Id$
*/
-abstract class InstanceKeyDataSource
+public abstract class InstanceKeyDataSource
implements DataSource, Referenceable, Serializable {
private static final String GET_CONNECTION_CALLED
= "A Connection was already requested from this source, "
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org