506536: Support autoGrowNestedPaths via CMUtils

Signed-off-by: Olaf Otto <olaf@x100.de>
diff --git a/core/src/main/java/org/eclipse/gemini/blueprint/compendium/internal/cm/CMUtils.java b/core/src/main/java/org/eclipse/gemini/blueprint/compendium/internal/cm/CMUtils.java
index ea47dc9..b5be0a1 100644
--- a/core/src/main/java/org/eclipse/gemini/blueprint/compendium/internal/cm/CMUtils.java
+++ b/core/src/main/java/org/eclipse/gemini/blueprint/compendium/internal/cm/CMUtils.java
@@ -60,6 +60,8 @@
 	public static void applyMapOntoInstance(Object instance, Map<String, ?> properties, AbstractBeanFactory beanFactory) {

 		if (properties != null && !properties.isEmpty()) {

 			BeanWrapper beanWrapper = PropertyAccessorFactory.forBeanPropertyAccess(instance);

+			beanWrapper.setAutoGrowNestedPaths(true);

+

 			// configure bean wrapper (using method from Spring 2.5.6)

 			if (beanFactory != null) {

 				beanFactory.copyRegisteredEditorsTo(beanWrapper);