Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlaf Otto2017-03-24 14:57:26 +0000
committerOlaf Otto2017-03-24 14:57:26 +0000
commit9883efc94155e62e5d962941a0400549fdfb9cac (patch)
tree1bde31717211814b68dc2f9df21a094bd31283de
parent323a4ef7ba32014cfab51771f04a86fba282c5c3 (diff)
downloadorg.eclipse.gemini.blueprint-9883efc94155e62e5d962941a0400549fdfb9cac.tar.gz
org.eclipse.gemini.blueprint-9883efc94155e62e5d962941a0400549fdfb9cac.tar.xz
org.eclipse.gemini.blueprint-9883efc94155e62e5d962941a0400549fdfb9cac.zip
506536: Support autoGrowNestedPaths via CMUtils
Signed-off-by: Olaf Otto <olaf@x100.de>
-rw-r--r--core/src/main/java/org/eclipse/gemini/blueprint/compendium/internal/cm/CMUtils.java2
1 files changed, 2 insertions, 0 deletions
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 abstract class CMUtils {
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);

Back to the top