You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@turbine.apache.org by jv...@apache.org on 2001/06/15 02:42:52 UTC

cvs commit: jakarta-turbine/src/java/org/apache/turbine/util/db/adapter DBFactory.java

jvanzyl     01/06/14 17:42:52

  Modified:    src/java/org/apache/turbine/util/db/adapter DBFactory.java
  Log:
  - note about using Configuration in this class.
  
  Revision  Changes    Path
  1.7       +10 -1     jakarta-turbine/src/java/org/apache/turbine/util/db/adapter/DBFactory.java
  
  Index: DBFactory.java
  ===================================================================
  RCS file: /home/cvs/jakarta-turbine/src/java/org/apache/turbine/util/db/adapter/DBFactory.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- DBFactory.java	2001/06/14 15:13:21	1.6
  +++ DBFactory.java	2001/06/15 00:42:52	1.7
  @@ -62,6 +62,15 @@
   
   import org.apache.velocity.runtime.configuration.Configuration;
   
  +//!!
  +// NOTE
  +// The Configuration class is used here to try and
  +// decouple this from Turbine so that the DatabaseService
  +// can be used completely outside of the context of
  +// Turbine. I realized this is a yucky Velocity reference
  +// in here, but I'm waiting until we have a nice Configuration
  +// interface in the commons that we can bind to. jvz.
  +
   /**
    * This class creates different DB objects based on the database
    * driver that is provided.
  @@ -70,7 +79,7 @@
    * @author <a href="mailto:jon@latchkey.com">Jon S. Stevens</a>
    * @author <a href="mailto:bmclaugh@algx.net">Brett McLaughlin</a>
    * @author <a href="mailto:ralf@reswi.ruhr.de">Ralf Stranzenbach</a>
  - * @version $Id: DBFactory.java,v 1.6 2001/06/14 15:13:21 jvanzyl Exp $
  + * @version $Id: DBFactory.java,v 1.7 2001/06/15 00:42:52 jvanzyl Exp $
    */
   public class DBFactory
   {
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-dev-help@jakarta.apache.org