summaryrefslogtreecommitdiffstats
path: root/sca-java-2.x/trunk/modules/databinding/src/main/java/org/apache
diff options
context:
space:
mode:
authorrfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68>2010-04-14 04:16:49 +0000
committerrfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68>2010-04-14 04:16:49 +0000
commitb5ee5de9dfb6f50dcdc81e69a5ecaa2b299238c6 (patch)
treede82bde74ebdfe06c0ee7afe7b3617457b06a12b /sca-java-2.x/trunk/modules/databinding/src/main/java/org/apache
parentd4743525775f0d49ab021887e7402967d12d32be (diff)
Passing ExtensionPointRegistry into the constructor
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@933855 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/trunk/modules/databinding/src/main/java/org/apache')
-rw-r--r--sca-java-2.x/trunk/modules/databinding/src/main/java/org/apache/tuscany/sca/databinding/DefaultDataBindingExtensionPoint.java5
1 files changed, 3 insertions, 2 deletions
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();