jvanzyl     01/06/15 10:01:46

  Modified:    src/java/org/apache/turbine/util/db IDBroker.java
  Log:
  - more notes on decoupling. the IDBroker did use TurbineResources,
    and it still uses TurbineDB.
  
  Revision  Changes    Path
  1.30      +8 -2      
jakarta-turbine/src/java/org/apache/turbine/util/db/IDBroker.java
  
  Index: IDBroker.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-turbine/src/java/org/apache/turbine/util/db/IDBroker.java,v
  retrieving revision 1.29
  retrieving revision 1.30
  diff -u -r1.29 -r1.30
  --- IDBroker.java     2001/06/14 15:13:17     1.29
  +++ IDBroker.java     2001/06/15 17:01:44     1.30
  @@ -69,7 +69,6 @@
   
   import org.apache.turbine.om.peer.BasePeer;
   import org.apache.turbine.services.db.TurbineDB;
  -//import org.apache.turbine.services.resources.TurbineResources;
   import org.apache.turbine.util.Log;
   import org.apache.turbine.util.TurbineException;
   import org.apache.turbine.util.db.map.DatabaseMap;
  @@ -78,6 +77,13 @@
   
   import org.apache.velocity.runtime.configuration.Configuration;
   
  +//!!
  +// NOTE:
  +// This is another class that is coupled to Turbine. I removed
  +// the use of TurbineResources but a configuration of some sort
  +// must be set. It would also be nice to decouple this from
  +// TurbineDB. This is a great stand-alone utility.
  +
   /**
    * This method of ID generation is used to ensure that code is
    * more database independent.  For example, MySQL has an auto-increment 
  @@ -110,7 +116,7 @@
    *
    * @author <a href="mailto:[EMAIL PROTECTED]";>Frank Y. Kim</a>
    * @author <a href="mailto:[EMAIL PROTECTED]";>John D. McNally</a>
  - * @version $Id: IDBroker.java,v 1.29 2001/06/14 15:13:17 jvanzyl Exp $
  + * @version $Id: IDBroker.java,v 1.30 2001/06/15 17:01:44 jvanzyl Exp $
    */
   public class IDBroker
       implements Runnable, IdGenerator
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to