[jboss-cvs] JBossAS SVN: r81828 - trunk/system-jmx/src/main/org/jboss/system/deployers/managed.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Sun Nov 30 09:38:21 EST 2008


Author: emuckenhuber
Date: 2008-11-30 09:38:20 -0500 (Sun, 30 Nov 2008)
New Revision: 81828

Modified:
   trunk/system-jmx/src/main/org/jboss/system/deployers/managed/ServiceMetaDataICF.java
Log:
[JBAS-3768] temporary workaround, to be able to update the configuration of a mbean before it's getting deployed.

Modified: trunk/system-jmx/src/main/org/jboss/system/deployers/managed/ServiceMetaDataICF.java
===================================================================
--- trunk/system-jmx/src/main/org/jboss/system/deployers/managed/ServiceMetaDataICF.java	2008-11-30 14:36:21 UTC (rev 81827)
+++ trunk/system-jmx/src/main/org/jboss/system/deployers/managed/ServiceMetaDataICF.java	2008-11-30 14:38:20 UTC (rev 81828)
@@ -124,7 +124,7 @@
       // First look to the mapped name
       String name = property.getMappedName();
       if (name == null)
-         property.getName();
+         name = property.getName();
 
       ClassLoader prevLoader = SecurityActions.getContextClassLoader();
       Object value = null;
@@ -349,6 +349,7 @@
          {
          }
       }
+      if(attrName == null) return name;
       return attrName;
    }
 }




More information about the jboss-cvs-commits mailing list