diff options
author | slaws <slaws@13f79535-47bb-0310-9956-ffa450edef68> | 2011-02-25 10:13:40 +0000 |
---|---|---|
committer | slaws <slaws@13f79535-47bb-0310-9956-ffa450edef68> | 2011-02-25 10:13:40 +0000 |
commit | d9d7bcb8658913ed3f64cf9faaecc6d070e3054a (patch) | |
tree | baae489098bb5ee5a5840b46a9add8441f5d5ece /sca-java-2.x/trunk/modules/core | |
parent | f9da6eb21d1140d49785b32ee0ff64d426c4a427 (diff) |
TUSCANY-3839 - add a generic interceptor rather than a binding specific interceptor despite the method name. The binding specific interceptors are added in initReferenceBindingInvocationChains()
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1074462 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/trunk/modules/core')
-rw-r--r-- | sca-java-2.x/trunk/modules/core/src/main/java/org/apache/tuscany/sca/core/assembly/impl/RuntimeEndpointReferenceImpl.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sca-java-2.x/trunk/modules/core/src/main/java/org/apache/tuscany/sca/core/assembly/impl/RuntimeEndpointReferenceImpl.java b/sca-java-2.x/trunk/modules/core/src/main/java/org/apache/tuscany/sca/core/assembly/impl/RuntimeEndpointReferenceImpl.java index 368ec0ba87..5031ccb73a 100644 --- a/sca-java-2.x/trunk/modules/core/src/main/java/org/apache/tuscany/sca/core/assembly/impl/RuntimeEndpointReferenceImpl.java +++ b/sca-java-2.x/trunk/modules/core/src/main/java/org/apache/tuscany/sca/core/assembly/impl/RuntimeEndpointReferenceImpl.java @@ -503,7 +503,7 @@ public class RuntimeEndpointReferenceImpl extends EndpointReferenceImpl implemen List<PolicyProvider> pps = getPolicyProviders(); if (pps != null) { for (PolicyProvider p : pps) { - Interceptor interceptor = p.createBindingInterceptor(); + Interceptor interceptor = p.createInterceptor(operation); if (interceptor != null) { chain.addInterceptor(interceptor); } |