You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@avalon.apache.org by do...@apache.org on 2002/11/10 12:43:25 UTC

cvs commit: jakarta-avalon-excalibur/fortress/src/java/org/apache/excalibur/fortress/util ContextBuilder.java

donaldp     2002/11/10 03:43:25

  Modified:    fortress/src/java/org/apache/excalibur/fortress/util
                        ContextBuilder.java
  Log:
  Use rols strings rather than keys in constants class
  
  Revision  Changes    Path
  1.28      +5 -5      jakarta-avalon-excalibur/fortress/src/java/org/apache/excalibur/fortress/util/ContextBuilder.java
  
  Index: ContextBuilder.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/fortress/src/java/org/apache/excalibur/fortress/util/ContextBuilder.java,v
  retrieving revision 1.27
  retrieving revision 1.28
  diff -u -r1.27 -r1.28
  --- ContextBuilder.java	10 Nov 2002 03:26:43 -0000	1.27
  +++ ContextBuilder.java	10 Nov 2002 11:43:24 -0000	1.28
  @@ -150,7 +150,7 @@
   
       public ContextBuilder setCommandQueue( Queue commandQueue )
       {
  -        context.put( COMMAND_QUEUE, commandQueue );
  +        context.put( Queue.ROLE, commandQueue );
           return this;
       }
   
  @@ -241,7 +241,7 @@
   
       public ContextBuilder setLoggerManager( LoggerManager logManager )
       {
  -        context.put( LOGGER_MANAGER, logManager );
  +        context.put( LoggerManager.ROLE, logManager );
           context.put( LOGGER_MANAGER_CONFIGURATION, null );
           context.put( LOGGER_MANAGER_CONFIGURATION_URI, null );
           return this;
  @@ -262,7 +262,7 @@
   
       public ContextBuilder setInstrumentManager( InstrumentManager profiler )
       {
  -        context.put( INSTRUMENT_MANAGER, profiler );
  +        context.put( InstrumentManager.ROLE, profiler );
           context.put( INSTRUMENT_MANAGER_CONFIGURATION, null );
           context.put( INSTRUMENT_MANAGER_CONFIGURATION_URI, null );
           return this;
  @@ -289,13 +289,13 @@
   
       public ContextBuilder setPoolManager( PoolManager poolManager )
       {
  -        context.put( POOL_MANAGER, poolManager );
  +        context.put( PoolManager.ROLE, poolManager );
           return this;
       }
   
       public ContextBuilder setRoleManager( RoleManager roleManager )
       {
  -        context.put( ROLE_MANAGER, roleManager );
  +        context.put( RoleManager.ROLE, roleManager );
           return this;
       }
   
  
  
  

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