From d501c0f47f9d544ff45e75d03a6f3bbd4ba96de5 Mon Sep 17 00:00:00 2001 From: antelder Date: Wed, 15 Dec 2010 14:09:06 +0000 Subject: 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 --- .../tuscany/sca/binding/sca/provider/DefaultSCABindingMapper.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sca-java-2.x/trunk/modules') 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); -- cgit v1.2.3