tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r...@apache.org
Subject cvs commit: jakarta-tomcat-connectors/juli/src/java/org/apache/juli ClassLoaderLogManager.java
Date Mon, 07 Mar 2005 13:26:59 GMT
remm        2005/03/07 05:26:59

  Modified:    juli/src/java/org/apache/juli ClassLoaderLogManager.java
  Log:
  - private -> protected.
  
  Revision  Changes    Path
  1.8       +11 -11    jakarta-tomcat-connectors/juli/src/java/org/apache/juli/ClassLoaderLogManager.java
  
  Index: ClassLoaderLogManager.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-connectors/juli/src/java/org/apache/juli/ClassLoaderLogManager.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- ClassLoaderLogManager.java	4 Mar 2005 15:33:41 -0000	1.7
  +++ ClassLoaderLogManager.java	7 Mar 2005 13:26:59 -0000	1.8
  @@ -38,7 +38,7 @@
   /**
    * Per classloader LogManager implementation.
    */
  -public final class ClassLoaderLogManager extends LogManager {
  +public class ClassLoaderLogManager extends LogManager {
   
   
       // -------------------------------------------------------------- Variables
  @@ -49,14 +49,14 @@
        * weak hashmap is used to ensure no classloader reference is leaked from 
        * application redeployment.
        */
  -    private final Map classLoaderLoggers = new WeakHashMap();
  +    protected final Map classLoaderLoggers = new WeakHashMap();
   
       
       /**
        * This prefix is used to allow using prefixes for the properties names
        * of handlers and their subcomponents.
        */
  -    private ThreadLocal prefix = new ThreadLocal();
  +    protected ThreadLocal prefix = new ThreadLocal();
   
       
       // --------------------------------------------------------- Public Methods
  @@ -251,7 +251,7 @@
       }
       
   
  -    // -------------------------------------------------------- Private Methods
  +    // ------------------------------------------------------ Protected Methods
   
   
       /**
  @@ -261,7 +261,7 @@
        * @param classLoader The classloader for which we will retrieve or build the 
        *                    configuration
        */
  -    private ClassLoaderLogInfo getClassLoaderInfo(final ClassLoader classLoader) {
  +    protected ClassLoaderLogInfo getClassLoaderInfo(final ClassLoader classLoader) {
           
           ClassLoaderLogInfo info = (ClassLoaderLogInfo) classLoaderLoggers
                   .get(classLoader);
  @@ -368,7 +368,7 @@
        * @param logger
        * @param parent
        */
  -    private static void doSetParentLogger(final Logger logger,
  +    protected static void doSetParentLogger(final Logger logger,
               final Logger parent) {
           AccessController.doPrivileged(new PrivilegedAction() {
               public Object run() {
  @@ -382,12 +382,12 @@
       // ---------------------------------------------------- LogNode Inner Class
   
   
  -    private static final class LogNode {
  +    protected static final class LogNode {
           Logger logger;
   
  -        private final Map children = new HashMap();
  +        protected final Map children = new HashMap();
   
  -        private final LogNode parent;
  +        protected final LogNode parent;
   
           LogNode(final LogNode parent, final Logger logger) {
               this.parent = parent;
  @@ -450,7 +450,7 @@
       // -------------------------------------------- ClassLoaderInfo Inner Class
   
   
  -    private static final class ClassLoaderLogInfo {
  +    protected static final class ClassLoaderLogInfo {
           final LogNode rootNode;
           final Map loggers = new HashMap();
           final Map handlers = new HashMap();
  @@ -470,7 +470,7 @@
        * This class is needed to instantiate the root of each per classloader 
        * hierarchy.
        */
  -    private class RootLogger extends Logger {
  +    protected class RootLogger extends Logger {
           public RootLogger() {
               super("", null);
           }
  
  
  

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


Mime
View raw message