tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cos...@apache.org
Subject cvs commit: jakarta-tomcat-connectors/jk/java/org/apache/jk/core WorkerEnv.java
Date Sat, 19 Apr 2003 20:59:55 GMT
costin      2003/04/19 13:59:55

  Modified:    jk/java/org/apache/jk/core WorkerEnv.java
  Log:
  View the names of the handlers.
  
  Revision  Changes    Path
  1.10      +11 -6     jakarta-tomcat-connectors/jk/java/org/apache/jk/core/WorkerEnv.java
  
  Index: WorkerEnv.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-connectors/jk/java/org/apache/jk/core/WorkerEnv.java,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- WorkerEnv.java	18 Dec 2002 09:15:06 -0000	1.9
  +++ WorkerEnv.java	19 Apr 2003 20:59:54 -0000	1.10
  @@ -58,12 +58,8 @@
    */
   package org.apache.jk.core;
   
  -import java.io.*;
  -import java.util.*;
  -import java.security.*;
  -
  -import org.apache.jk.common.*;
  -import org.apache.jk.apr.*;
  +import java.util.Hashtable;
  +import javax.management.ObjectName;
   
   /**
    * The controller object. It manages all other jk objects, acting as the root of
  @@ -166,6 +162,15 @@
   
       public final int getHandlerCount() {
           return handlerCount;
  +    }
  +    
  +    public ObjectName[] getHandlersObjectName() {
  +        
  +        ObjectName onames[]=new ObjectName[ handlerCount ];
  +        for( int i=0; i<handlerCount; i++ ) {
  +            onames[i]=handlersTable[i].getObjectName();
  +        }
  +        return onames;
       }
   
   }
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Mime
View raw message