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-catalina/catalina/src/share/org/apache/catalina/mbeans MBeanUtils.java
Date Tue, 06 Aug 2002 17:52:11 GMT
costin      2002/08/06 10:52:11

  Modified:    catalina/src/share/org/apache/catalina/mbeans
                        MBeanUtils.java
  Log:
  Update for the new package name, it won't work otherwise.
  
  Revision  Changes    Path
  1.3       +5 -6      jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/mbeans/MBeanUtils.java
  
  Index: MBeanUtils.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/mbeans/MBeanUtils.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- MBeanUtils.java	25 Jul 2002 12:01:22 -0000	1.2
  +++ MBeanUtils.java	6 Aug 2002 17:52:11 -0000	1.3
  @@ -803,8 +803,7 @@
           throws MalformedObjectNameException {
   
           ObjectName name = null;
  -        if ("org.apache.coyote.tomcat4.CoyoteConnector".equals
  -                   (connector.getClass().getName())) {
  +        if (connector.getClass().getName().indexOf("CoyoteConnector") >= 0 ) {
               try {
                   String address = (String)
                       PropertyUtils.getSimpleProperty(connector, "address");
  
  
  

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


Mime
View raw message