Diff for /bookie/Java/bookie/sbtp/Attic/SbtpServiceManager.java between versions 1.1 and 1.2

version 1.1, 2000/11/27 00:33:36 version 1.2, 2000/11/29 10:32:17
Line 33  import bookie.sbtp.protocol.*; Line 33  import bookie.sbtp.protocol.*;
   
 import bookie.sbtp.database.*;  import bookie.sbtp.database.*;
   
   import org.log4j.*;
   
 /**  /**
  *   *
  */   */
 public  public
 class SbtpServiceManager   class SbtpServiceManager 
    implements CoffeeServiceManager, LogConstants    implements CoffeeServiceManager
 {  {
     private BookmarksFactory m_BookmarksFactory;      private BookmarksFactory m_BookmarksFactory;
   
       Category mLogger = Category.getInstance("bookie.sbtp");
   
     public SbtpServiceManager()      public SbtpServiceManager()
     {      {
         m_BookmarksFactory = null;          m_BookmarksFactory = null;
Line 52  class SbtpServiceManager  Line 56  class SbtpServiceManager 
      */       */
     public SbtpServiceManager(BookmarksFactory factory)      public SbtpServiceManager(BookmarksFactory factory)
     {      {
         Log.setCurrentLevel(DEBUG);  
         m_BookmarksFactory = factory;          m_BookmarksFactory = factory;
     }      }
           
Line 86  class SbtpServiceManager  Line 89  class SbtpServiceManager 
         service.addCommand("adds", new SbtpService_ADDS());          service.addCommand("adds", new SbtpService_ADDS());
         service.addCommand("dels", new SbtpService_DELS());          service.addCommand("dels", new SbtpService_DELS());
   
        log(DEBUG, "returning service");        mLogger.debug("returning service");
         
         return service;          return service;
     }      }
   
Line 102  class SbtpServiceManager  Line 106  class SbtpServiceManager 
         m_BookmarksFactory.configure(configuration);          m_BookmarksFactory.configure(configuration);
     }      }
   
     protected void log(int level, String msg)  
     {  
         Log.log(this, level, msg);  
     }  
 }  }

Removed from v.1.1  
changed lines
  Added in v.1.2


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>