bloritsch    01/03/05 12:29:00

  Modified:    src/org/apache/cocoon/util Tag: xml-cocoon2 RoleUtils.java
  Log:
  Fixed error if SAX Connector was not specified in Cocoon.xconf.
  The RoleUtils classnames variable is used for the default "Implementation"
  class--not its interface.
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.1.2.12  +2 -2      
xml-cocoon/src/org/apache/cocoon/util/Attic/RoleUtils.java
  
  Index: RoleUtils.java
  ===================================================================
  RCS file: 
/home/cvs/xml-cocoon/src/org/apache/cocoon/util/Attic/RoleUtils.java,v
  retrieving revision 1.1.2.11
  retrieving revision 1.1.2.12
  diff -u -r1.1.2.11 -r1.1.2.12
  --- RoleUtils.java    2001/03/03 15:58:52     1.1.2.11
  +++ RoleUtils.java    2001/03/05 20:29:00     1.1.2.12
  @@ -19,7 +19,7 @@
    * role aliases and the real Avalon role names.
    *
    * @author <a href="mailto:[EMAIL PROTECTED]">Berin Loritsch</a>
  - * @version CVS $Revision: 1.1.2.11 $ $Date: 2001/03/03 15:58:52 $
  + * @version CVS $Revision: 1.1.2.12 $ $Date: 2001/03/05 20:29:00 $
    */
   
   public class RoleUtils {
  @@ -58,7 +58,7 @@
           setup.put(Roles.PROGRAM_GENERATOR, 
"org.apache.cocoon.components.language.generator.ProgramGeneratorImpl");
           setup.put(Roles.DB_CONNECTION, 
"org.apache.cocoon.CocoonComponentSelector");
           setup.put(Roles.POOL_CONTROLLER, 
"org.apache.cocoon.util.ComponentPoolController");
  -        setup.put(Roles.SAX_CONNECTOR, 
"org.apache.cocoon.components.saxconnector.SAXConnector");
  +        setup.put(Roles.SAX_CONNECTOR, 
"org.apache.cocoon.components.saxconnector.NullSAXConnector");
           setup.put(Roles.URL_FACTORY, 
"org.apache.cocoon.components.url.URLFactoryImpl");
           setup.put(Roles.ACTIONS, 
"org.apache.cocoon.CocoonComponentSelector");
           setup.put(Roles.MATCHERS, 
"org.apache.cocoon.CocoonComponentSelector");
  
  
  

Reply via email to