avalon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hamm...@apache.org
Subject cvs commit: jakarta-avalon-cornerstone/apps/db/src/java/org/apache/avalon/db/server AbstractDatabaseManager.java AbstractParser.java
Date Mon, 19 Nov 2001 17:03:14 GMT
hammant     01/11/19 09:03:14

  Modified:    apps/db/src/java/org/apache/avalon/db/server
                        AbstractDatabaseManager.java AbstractParser.java
  Log:
  fixed missing handlers
  
  Revision  Changes    Path
  1.24      +2 -1      jakarta-avalon-cornerstone/apps/db/src/java/org/apache/avalon/db/server/AbstractDatabaseManager.java
  
  Index: AbstractDatabaseManager.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-cornerstone/apps/db/src/java/org/apache/avalon/db/server/AbstractDatabaseManager.java,v
  retrieving revision 1.23
  retrieving revision 1.24
  diff -u -r1.23 -r1.24
  --- AbstractDatabaseManager.java	2001/11/19 12:11:54	1.23
  +++ AbstractDatabaseManager.java	2001/11/19 17:03:13	1.24
  @@ -27,7 +27,7 @@
    *
    *
    * @author Paul Hammant <a href="mailto:Paul_Hammant@yahoo.com">Paul_Hammant@yahoo.com</a>
  - * @version $Revision: 1.23 $
  + * @version $Revision: 1.24 $
    */
   public abstract class AbstractDatabaseManager extends AbstractLogEnabled
           implements Composable, Initializable {
  @@ -71,6 +71,7 @@
           try {
               AbstractRequestHandler arh = mRequestHandlers[request.getRequestCode()];
               if (arh == null ) {
  +                System.out.println("unknown rqst " + request.getRequestCode());
                   return new UnknownRequestReply();
               } else {
                   return arh.handleRequest(request);
  
  
  
  1.7       +3 -0      jakarta-avalon-cornerstone/apps/db/src/java/org/apache/avalon/db/server/AbstractParser.java
  
  Index: AbstractParser.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-cornerstone/apps/db/src/java/org/apache/avalon/db/server/AbstractParser.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- AbstractParser.java	2001/11/19 15:58:59	1.6
  +++ AbstractParser.java	2001/11/19 17:03:13	1.7
  @@ -98,6 +98,9 @@
           handlers[Request.CATALOGREQUEST] = new CatalogHandler(mDatabasePersistor);
           handlers[Request.ESTABLISHCONNECTION] = new EstablishConnectionHandler(mDatabasePersistor);
   
  +        // custom
  +        getCustomRequestHandlers(handlers);
  +
           // decorate them with logging capability.
           for (int i = 0; i < handlers.length; i++) {
               if (handlers[i] != null) {
  
  
  

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


Mime
View raw message