[jboss-cvs] JBossAS SVN: r86166 - branches/Branch_5_x/profileservice/src/main/org/jboss/profileservice/management.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Fri Mar 20 11:14:36 EDT 2009


Author: emuckenhuber
Date: 2009-03-20 11:14:36 -0400 (Fri, 20 Mar 2009)
New Revision: 86166

Modified:
   branches/Branch_5_x/profileservice/src/main/org/jboss/profileservice/management/ManagementViewImpl.java
Log:
also update metaType

Modified: branches/Branch_5_x/profileservice/src/main/org/jboss/profileservice/management/ManagementViewImpl.java
===================================================================
--- branches/Branch_5_x/profileservice/src/main/org/jboss/profileservice/management/ManagementViewImpl.java	2009-03-20 15:13:39 UTC (rev 86165)
+++ branches/Branch_5_x/profileservice/src/main/org/jboss/profileservice/management/ManagementViewImpl.java	2009-03-20 15:14:36 UTC (rev 86166)
@@ -52,6 +52,7 @@
 import org.jboss.logging.Logger;
 import org.jboss.managed.api.ComponentType;
 import org.jboss.managed.api.DeploymentTemplateInfo;
+import org.jboss.managed.api.Fields;
 import org.jboss.managed.api.ManagedComponent;
 import org.jboss.managed.api.ManagedDeployment;
 import org.jboss.managed.api.ManagedObject;
@@ -1085,8 +1086,11 @@
             String msg = formatter.format(args);
             throw new IllegalArgumentException(msg);
          }
+         // Update the serverComp
          MetaValue metaValue = (MetaValue)value;
+         ctxProp.setField(Fields.META_TYPE, metaValue.getMetaType());
          ctxProp.setValue(metaValue);
+         
          // Dispatch any runtime component property values
          Object componentName = getComponentName(ctxProp);
          if (componentName != null)




More information about the jboss-cvs-commits mailing list