geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From djen...@apache.org
Subject cvs commit: incubator-geronimo/modules/kernel/src/java/org/apache/geronimo/kernel/service GeronimoAttributeInfo.java
Date Sun, 16 Nov 2003 00:45:01 GMT
djencks     2003/11/15 16:45:01

  Modified:    modules/kernel/src/java/org/apache/geronimo/kernel/service
                        GeronimoAttributeInfo.java
  Log:
  Make a little easier to debug
  
  Revision  Changes    Path
  1.8       +5 -2      incubator-geronimo/modules/kernel/src/java/org/apache/geronimo/kernel/service/GeronimoAttributeInfo.java
  
  Index: GeronimoAttributeInfo.java
  ===================================================================
  RCS file: /home/cvs/incubator-geronimo/modules/kernel/src/java/org/apache/geronimo/kernel/service/GeronimoAttributeInfo.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- GeronimoAttributeInfo.java	14 Nov 2003 16:10:21 -0000	1.7
  +++ GeronimoAttributeInfo.java	16 Nov 2003 00:45:01 -0000	1.8
  @@ -59,6 +59,7 @@
   import javax.management.MBeanAttributeInfo;
   
   import net.sf.cglib.reflect.FastMethod;
  +import net.sf.cglib.reflect.FastClass;
   
   /**
    * Describes an attibute of a GeronimoMBean.  This extension allows the properties to be
mutable during setup,
  @@ -304,7 +305,9 @@
   
               getterName = getterJavaMethod.getName();
               is = getterName.startsWith("is");
  -            getterMethod = parent.getTargetFastClass(targetName).getMethod(getterJavaMethod);
  +
  +            FastClass targetFastClass = parent.getTargetFastClass(targetName);
  +            getterMethod = targetFastClass.getMethod(getterJavaMethod);
               attributeType = getterJavaMethod.getReturnType();
           } else {
               getterName = null;
  
  
  

Mime
View raw message