geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gdam...@apache.org
Subject cvs commit: incubator-geronimo/modules/kernel/src/java/org/apache/geronimo/gbean/jmx CollectionProxy.java
Date Thu, 29 Jan 2004 11:23:55 GMT
gdamour     2004/01/29 03:23:55

  Modified:    modules/kernel/src/java/org/apache/geronimo/gbean/jmx
                        CollectionProxy.java
  Log:
  Typo issue.
  
  When endpoint has been renamed reference, the paramater passed to
  the fireMemberAdddedEvent (there is a also typo issue in the name) has 
  been "lost".
  
  Revision  Changes    Path
  1.12      +4 -3      incubator-geronimo/modules/kernel/src/java/org/apache/geronimo/gbean/jmx/CollectionProxy.java
  
  Index: CollectionProxy.java
  ===================================================================
  RCS file: /home/cvs/incubator-geronimo/modules/kernel/src/java/org/apache/geronimo/gbean/jmx/CollectionProxy.java,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- CollectionProxy.java	26 Jan 2004 06:50:46 -0000	1.11
  +++ CollectionProxy.java	29 Jan 2004 11:23:55 -0000	1.12
  @@ -153,9 +153,10 @@
                   ProxyMethodInterceptor interceptor = new ProxyMethodInterceptor(factory.getType());
                   interceptor.connect(gmbean.getServer(), target, proxy.isStopped());
                   interceptors.put(target, interceptor);
  -                proxies.put(target, factory.create(interceptor));
  +                Object targetProxy = factory.create(interceptor); 
  +                proxies.put(target, targetProxy);
                   if (!stopped) {
  -                    proxy.fireMemberAdddedEvent(target);
  +                    proxy.fireMemberAdddedEvent(targetProxy);
                   }
               } catch (InvocationTargetException e) {
                   log.info("Could not create optional proxy to mbean: objectName=" + target);
  
  
  

Mime
View raw message