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, 
    * [EMAIL PROTECTED] 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:[EMAIL PROTECTED]">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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to