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/11 02:03:07 UTC

cvs commit: jakarta-avalon-excalibur/fortress/src/java/org/apache/excalibur/fortress/role ConfigurableRoleManager.java

donaldp     2002/11/10 17:03:06

  Modified:    fortress/src/java/org/apache/excalibur/fortress/role
                        ConfigurableRoleManager.java
  Log:
  derive classname rather than hardcode
  
  Revision  Changes    Path
  1.4       +3 -2      jakarta-avalon-excalibur/fortress/src/java/org/apache/excalibur/fortress/role/ConfigurableRoleManager.java
  
  Index: ConfigurableRoleManager.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/fortress/src/java/org/apache/excalibur/fortress/role/ConfigurableRoleManager.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- ConfigurableRoleManager.java	10 Nov 2002 16:16:43 -0000	1.3
  +++ ConfigurableRoleManager.java	11 Nov 2002 01:03:06 -0000	1.4
  @@ -52,6 +52,7 @@
   import org.apache.avalon.framework.configuration.Configurable;
   import org.apache.avalon.framework.configuration.Configuration;
   import org.apache.avalon.framework.configuration.ConfigurationException;
  +import org.apache.excalibur.fortress.handler.PerThreadComponentHandler;
   
   /**
    * Configurable RoleManager implementation.  It populates the RoleManager
  @@ -120,7 +121,7 @@
                       components[ j ].getAttribute( "class", null );
                   final String handlerClassName =
                       components[ j ].getAttribute( "handler",
  -                                                  "org.apache.excalibur.fortress.handler.PerThreadComponentHandler" );
  +                                                  PerThreadComponentHandler.class.getName() );
   
                   addRole( shorthand, role, className, handlerClassName );
               }
  
  
  

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