summaryrefslogtreecommitdiffstats
path: root/sca-java-2.x/trunk/modules
diff options
context:
space:
mode:
authorantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2010-12-15 14:09:06 +0000
committerantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2010-12-15 14:09:06 +0000
commitd501c0f47f9d544ff45e75d03a6f3bbd4ba96de5 (patch)
tree3e49f193f4f8644dc3b473cbfcf273815efafebe /sca-java-2.x/trunk/modules
parent98f2827db61ecbf3abac17a292873897c273a4df (diff)
Use the mapped binding when looking up the provider
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1049556 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/trunk/modules')
-rw-r--r--sca-java-2.x/trunk/modules/binding-sca-runtime/src/main/java/org/apache/tuscany/sca/binding/sca/provider/DefaultSCABindingMapper.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/sca-java-2.x/trunk/modules/binding-sca-runtime/src/main/java/org/apache/tuscany/sca/binding/sca/provider/DefaultSCABindingMapper.java b/sca-java-2.x/trunk/modules/binding-sca-runtime/src/main/java/org/apache/tuscany/sca/binding/sca/provider/DefaultSCABindingMapper.java
index 9a1c4777a8..5219cab15d 100644
--- a/sca-java-2.x/trunk/modules/binding-sca-runtime/src/main/java/org/apache/tuscany/sca/binding/sca/provider/DefaultSCABindingMapper.java
+++ b/sca-java-2.x/trunk/modules/binding-sca-runtime/src/main/java/org/apache/tuscany/sca/binding/sca/provider/DefaultSCABindingMapper.java
@@ -102,7 +102,7 @@ public class DefaultSCABindingMapper implements SCABindingMapper {
try {
if (processor != null) {
- Binding bindingTemplate = createDelegatingBinding(defaultMappedBinding);
+ Binding bindingTemplate = createDelegatingBinding(binding);
ProviderFactory providerFactory = providerFactories.getProviderFactory(bindingTemplate.getClass());
if (providerFactory == null) {
logger.warning("Mapped binding for binding.sca is not supported: " + binding);