commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lu...@apache.org
Subject cvs commit: jakarta-commons/modeler/src/java/org/apache/commons/modeler/mbeans SimpleRemoteConnector.java
Date Wed, 03 Sep 2003 00:07:22 GMT
luehe       2003/09/02 17:07:22

  Modified:    modeler/src/java/org/apache/commons/modeler/mbeans
                        SimpleRemoteConnector.java
  Log:
  Fix for 4909041 ("J2eetools: "class javax.management.ObjectName" wrong value for ObjectName")
  Patch provided by amy.roh@sun.com
  
  Revision  Changes    Path
  1.8       +1 -1      jakarta-commons/modeler/src/java/org/apache/commons/modeler/mbeans/SimpleRemoteConnector.java
  
  Index: SimpleRemoteConnector.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/modeler/src/java/org/apache/commons/modeler/mbeans/SimpleRemoteConnector.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- SimpleRemoteConnector.java	20 Jul 2003 07:35:13 -0000	1.7
  +++ SimpleRemoteConnector.java	3 Sep 2003 00:07:22 -0000	1.8
  @@ -209,7 +209,7 @@
               Iterator mbeansIt=mbeans.values().iterator();
               while( mbeansIt.hasNext()) {
                   MBeanProxy proxy=(MBeanProxy)mbeansIt.next();
  -                ObjectName oname=proxy.getObjectName();
  +                ObjectName oname=proxy.getJmxName();
                   Registry.getRegistry().getMBeanServer().unregisterMBean(oname);
               }
           } catch( Throwable t ) {
  
  
  

Mime
View raw message