avalon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mcconn...@apache.org
Subject cvs commit: avalon-sandbox/merlin/merlin-core/src/java/org/apache/avalon/merlin/block/impl StandardBlockLoader.java
Date Mon, 09 Jun 2003 18:04:31 GMT
mcconnell    2003/06/09 11:04:31

  Modified:    merlin/merlin-core/src/java/org/apache/avalon/merlin/block/impl
                        StandardBlockLoader.java
  Log:
  Updated StandardBlockLoader to assign the root engine as the context classloader.
  
  Revision  Changes    Path
  1.10      +5 -2      avalon-sandbox/merlin/merlin-core/src/java/org/apache/avalon/merlin/block/impl/StandardBlockLoader.java
  
  Index: StandardBlockLoader.java
  ===================================================================
  RCS file: /home/cvs/avalon-sandbox/merlin/merlin-core/src/java/org/apache/avalon/merlin/block/impl/StandardBlockLoader.java,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- StandardBlockLoader.java	9 May 2003 05:40:57 -0000	1.9
  +++ StandardBlockLoader.java	9 Jun 2003 18:04:31 -0000	1.10
  @@ -312,11 +312,14 @@
           }
   
           //
  -        // create the engine
  +        // create the engine - the following code creates the engine and 
  +        // assigns it as the context classloader (should be be launching
  +        // the block in a seperate thread?)
           //
   
           EngineClassLoader engine = 
             createEngine( implementation.getChild( "engine" ), path );
  +        Thread.currentThread().setContextClassLoader( engine );
   
           //
           // create the containment type
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: cvs-unsubscribe@avalon.apache.org
For additional commands, e-mail: cvs-help@avalon.apache.org


Mime
View raw message