logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From c...@apache.org
Subject cvs commit: logging-log4j/src/java/org/apache/joran/action NestComponentIA.java
Date Wed, 05 Jan 2005 18:29:05 GMT
ceki        2005/01/05 10:29:05

  Modified:    src/java/org/apache/joran/action NestComponentIA.java
  Log:
  Pass repository information along to sub-components.
  
  Revision  Changes    Path
  1.17      +2 -0      logging-log4j/src/java/org/apache/joran/action/NestComponentIA.java
  
  Index: NestComponentIA.java
  ===================================================================
  RCS file: /home/cvs/logging-log4j/src/java/org/apache/joran/action/NestComponentIA.java,v
  retrieving revision 1.16
  retrieving revision 1.17
  diff -u -r1.16 -r1.17
  --- NestComponentIA.java	5 Jan 2005 18:27:15 -0000	1.16
  +++ NestComponentIA.java	5 Jan 2005 18:29:05 -0000	1.17
  @@ -102,6 +102,8 @@
           className);
   
         actionData.nestedComponent = Loader.loadClass(className).newInstance();
  +      
  +      // pass along the repository
         if(actionData.nestedComponent instanceof Component) {
           ((Component) actionData.nestedComponent).setLoggerRepository(this.repository);
         }
  
  
  

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


Mime
View raw message