james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pgoldst...@apache.org
Subject cvs commit: jakarta-james/src/java/org/apache/james/core AbstractJamesService.java
Date Sat, 02 Nov 2002 08:25:15 GMT
pgoldstein    2002/11/02 00:25:14

  Modified:    src/java/org/apache/james/core AbstractJamesService.java
  Log:
  Updated comments in AbstractJamesService
  
  
  Revision  Changes    Path
  1.4       +14 -7     jakarta-james/src/java/org/apache/james/core/AbstractJamesService.java
  
  Index: AbstractJamesService.java
  ===================================================================
  RCS file: /home/cvs/jakarta-james/src/java/org/apache/james/core/AbstractJamesService.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- AbstractJamesService.java	30 Oct 2002 06:23:12 -0000	1.3
  +++ AbstractJamesService.java	2 Nov 2002 08:25:14 -0000	1.4
  @@ -31,8 +31,8 @@
   import org.apache.james.util.watchdog.WatchdogFactory;
   
   /**
  - * Server which creates connection handlers. All new James servers must
  - * inherit from this abstract server by implementing its
  + * Server which creates connection handlers. All new James service must
  + * inherit from this abstract implementation.
    *
    * @author <a href="mailto:myfam@surfeu.fi">Andrei Ivanov</a>
    * @author <a href="farsight@alum.mit.edu">Peter M. Goldstein</a>
  @@ -41,10 +41,19 @@
       implements Component, Composable, Configurable,
                  Disposable, Initializable, ConnectionHandlerFactory {
   
  -    public static final int DEFAULT_TIMEOUT = 5* 60 * 1000;
  +    /**
  +     * The default value for the connection timeout.
  +     */
  +    protected static final int DEFAULT_TIMEOUT = 5* 60 * 1000;
   
  -    public static final String TIMEOUT_NAME = "connectiontimeout";
  +    /**
  +     * The name of the parameter defining the connection timeout.
  +     */
  +    protected static final String TIMEOUT_NAME = "connectiontimeout";
   
  +    /**
  +     * The name of the parameter defining the service hello name.
  +     */
       public static final String HELLO_NAME = "helloName";
   
       /**
  @@ -213,7 +222,7 @@
                       .append(hostName);
           getLogger().info(infoBuffer.toString());
   
  -        Configuration helloConf = handlerConfiguration.getChild("helloName");
  +        Configuration helloConf = handlerConfiguration.getChild(HELLO_NAME);
           boolean autodetect = helloConf.getAttributeAsBoolean("autodetect", true);
           if (autodetect) {
               helloName = hostName;
  @@ -260,8 +269,6 @@
                   .append(" connections.");
               getLogger().info(infoBuffer.toString());
           }
  -
  -
       }
   
       /**
  
  
  

--
To unsubscribe, e-mail:   <mailto:james-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:james-dev-help@jakarta.apache.org>


Mime
View raw message