avalon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pro...@apache.org
Subject cvs commit: avalon-excalibur/fortress/src/java/org/apache/avalon/fortress/util FortressConfig.java
Date Thu, 12 Jun 2003 18:44:46 GMT
proyal      2003/06/12 11:44:46

  Modified:    fortress/src/java/org/apache/avalon/fortress/util
                        FortressConfig.java
  Log:
  Allow ThreadManager to be specified
  
  Revision  Changes    Path
  1.20      +7 -1      avalon-excalibur/fortress/src/java/org/apache/avalon/fortress/util/FortressConfig.java
  
  Index: FortressConfig.java
  ===================================================================
  RCS file: /home/cvs/avalon-excalibur/fortress/src/java/org/apache/avalon/fortress/util/FortressConfig.java,v
  retrieving revision 1.19
  retrieving revision 1.20
  diff -u -r1.19 -r1.20
  --- FortressConfig.java	11 Jun 2003 19:14:42 -0000	1.19
  +++ FortressConfig.java	12 Jun 2003 18:44:46 -0000	1.20
  @@ -57,6 +57,7 @@
   import org.apache.avalon.framework.context.DefaultContext;
   import org.apache.avalon.framework.service.ServiceManager;
   import org.apache.excalibur.event.Sink;
  +import org.apache.excalibur.event.command.ThreadManager;
   import org.apache.excalibur.instrument.InstrumentManager;
   import org.apache.excalibur.mpool.PoolManager;
   
  @@ -336,5 +337,10 @@
       public void setWorkDirectory( final String directory )
       {
           setWorkDirectory( new File( directory ) );
  +    }
  +
  +    public void setThreadManager( final ThreadManager threadManager )
  +    {
  +        m_context.put( ThreadManager.ROLE, threadManager );
       }
   }
  
  
  

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


Mime
View raw message