You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by rs...@apache.org on 2002/09/27 04:14:57 UTC

cvs commit: jakarta-commons/logging/src/java/org/apache/commons/logging/impl LogFactoryImpl.java

rsitze      2002/09/26 19:14:57

  Modified:    logging/src/java/org/apache/commons/logging/impl
                        LogFactoryImpl.java
  Log:
  javadoc cleanup
  
  Revision  Changes    Path
  1.15      +22 -17    jakarta-commons/logging/src/java/org/apache/commons/logging/impl/LogFactoryImpl.java
  
  Index: LogFactoryImpl.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/logging/src/java/org/apache/commons/logging/impl/LogFactoryImpl.java,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- LogFactoryImpl.java	30 Aug 2002 03:23:34 -0000	1.14
  +++ LogFactoryImpl.java	27 Sep 2002 02:14:57 -0000	1.15
  @@ -146,7 +146,7 @@
   
       /**
        * The deprecated system property used for backwards compatibility with
  -     * the old {@link LogSource} class.
  +     * the old {@link org.apache.commons.logging.LogSource} class.
        */
       protected static final String LOG_PROPERTY_OLD =
           "org.apache.commons.logging.log";
  @@ -156,22 +156,24 @@
   
   
       /**
  -     * The configuration attributes for this {@link LogFactory}.
  +     * Configuration attributes
        */
       protected Hashtable attributes = new Hashtable();
   
   
       /**
  -     * The {@link Log} instances that have already been created, keyed by
  -     * logger name.
  +     * The {@link org.apache.commons.logging.Log} instances that have
  +     * already been created, keyed by logger name.
        */
       protected Hashtable instances = new Hashtable();
   
   
       /**
  -     * The one-argument constructor of the {@link Log} implementation class
  -     * that will be used to create new instances.  This value is initialized
  -     * by <code>getLogConstructor()</code>, and then returned repeatedly.
  +     * The one-argument constructor of the
  +     * {@link org.apache.commons.logging.Log}
  +     * implementation class that will be used to create new instances.
  +     * This value is initialized by <code>getLogConstructor()</code>,
  +     * and then returned repeatedly.
        */
       protected Constructor logConstructor = null;
   
  @@ -187,7 +189,7 @@
   
       /**
        * The one-argument <code>setLogFactory</code> method of the selected
  -     * {@link Log} method, if it exists.
  +     * {@link org.apache.commons.logging.Log} method, if it exists.
        */
       protected Method logMethod = null;
   
  @@ -293,7 +295,8 @@
   
   
       /**
  -     * Release any internal references to previously created {@link Log}
  +     * Release any internal references to previously created
  +     * {@link org.apache.commons.logging.Log}
        * instances returned by this factory.  This is useful environments
        * like servlet containers, which implement application reloading by
        * throwing away a ClassLoader.  Dangling references to objects in that
  @@ -349,7 +352,7 @@
   
       /**
        * <p>Return the <code>Constructor</code> that can be called to instantiate
  -     * new {@link Log} instances.</p>
  +     * new {@link org.apache.commons.logging.Log} instances.</p>
        *
        * <p><strong>IMPLEMENTATION NOTE</strong> - Race conditions caused by
        * calling this method from more than one thread are ignored, because
  @@ -438,10 +441,11 @@
       }
   
       /**
  -     * <p>** MUST KEEP THIS METHOD PRIVATE **
  +     * <p>MUST KEEP THIS METHOD PRIVATE
        * </p>
        * 
  -     * <p>This method uses <code>AccessController.doPrivileged()</code>.
  +     * <p>Exposing this method establishes a security violation.
  +     * This method uses <code>AccessController.doPrivileged()</code>.
        * </p>
        * 
        * Load a class, try first the thread class loader, and
  @@ -526,7 +530,8 @@
   
   
       /**
  -     * Create and return a new {@link Log} instance for the specified name.
  +     * Create and return a new {@link org.apache.commons.logging.Log}
  +     * instance for the specified name.
        *
        * @param name Name of the new logger
        *
  
  
  

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>