From b5ee5de9dfb6f50dcdc81e69a5ecaa2b299238c6 Mon Sep 17 00:00:00 2001 From: rfeng Date: Wed, 14 Apr 2010 04:16:49 +0000 Subject: Passing ExtensionPointRegistry into the constructor git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@933855 13f79535-47bb-0310-9956-ffa450edef68 --- .../tuscany/sca/databinding/DefaultDataBindingExtensionPoint.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'sca-java-2.x/trunk/modules/databinding/src/main/java') diff --git a/sca-java-2.x/trunk/modules/databinding/src/main/java/org/apache/tuscany/sca/databinding/DefaultDataBindingExtensionPoint.java b/sca-java-2.x/trunk/modules/databinding/src/main/java/org/apache/tuscany/sca/databinding/DefaultDataBindingExtensionPoint.java index 34219bd7a9..22b6e8646e 100644 --- a/sca-java-2.x/trunk/modules/databinding/src/main/java/org/apache/tuscany/sca/databinding/DefaultDataBindingExtensionPoint.java +++ b/sca-java-2.x/trunk/modules/databinding/src/main/java/org/apache/tuscany/sca/databinding/DefaultDataBindingExtensionPoint.java @@ -51,8 +51,8 @@ public class DefaultDataBindingExtensionPoint implements DataBindingExtensionPoi private static final Logger logger = Logger.getLogger(DefaultDataBindingExtensionPoint.class.getName()); private boolean loadedDataBindings; - public DefaultDataBindingExtensionPoint() { - } +// public DefaultDataBindingExtensionPoint() { +// } public DefaultDataBindingExtensionPoint(ExtensionPointRegistry registry) { this.registry = registry; @@ -62,6 +62,7 @@ public class DefaultDataBindingExtensionPoint implements DataBindingExtensionPoi if (id == null) { return null; } + loadDataBindings(); DataBinding dataBinding = bindings.get(id.toLowerCase()); if (dataBinding == null) { loadDataBindings(); -- cgit v1.2.3