From 681675a8f65c5f9a218ec773be1a92198b5f587e Mon Sep 17 00:00:00 2001 From: slaws Date: Thu, 25 Feb 2010 15:07:17 +0000 Subject: Fluff up a policy provider instance git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@916311 13f79535-47bb-0310-9956-ffa450edef68 --- .../configuration/Axis2ConfigParamPolicyProviderFactory.java | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'sca-java-2.x') diff --git a/sca-java-2.x/trunk/modules/binding-ws-runtime-axis2/src/main/java/org/apache/tuscany/sca/binding/ws/axis2/policy/configuration/Axis2ConfigParamPolicyProviderFactory.java b/sca-java-2.x/trunk/modules/binding-ws-runtime-axis2/src/main/java/org/apache/tuscany/sca/binding/ws/axis2/policy/configuration/Axis2ConfigParamPolicyProviderFactory.java index 34df2221b8..c4c93cd33d 100644 --- a/sca-java-2.x/trunk/modules/binding-ws-runtime-axis2/src/main/java/org/apache/tuscany/sca/binding/ws/axis2/policy/configuration/Axis2ConfigParamPolicyProviderFactory.java +++ b/sca-java-2.x/trunk/modules/binding-ws-runtime-axis2/src/main/java/org/apache/tuscany/sca/binding/ws/axis2/policy/configuration/Axis2ConfigParamPolicyProviderFactory.java @@ -19,17 +19,13 @@ package org.apache.tuscany.sca.binding.ws.axis2.policy.configuration; -import org.apache.axis2.AxisFault; -import org.apache.axis2.context.ConfigurationContext; -import org.apache.axis2.description.Parameter; + import org.apache.tuscany.sca.assembly.Endpoint; import org.apache.tuscany.sca.assembly.EndpointReference; import org.apache.tuscany.sca.core.ExtensionPointRegistry; -import org.apache.tuscany.sca.policy.PolicySet; import org.apache.tuscany.sca.provider.PolicyProvider; import org.apache.tuscany.sca.provider.PolicyProviderFactory; import org.apache.tuscany.sca.runtime.RuntimeComponent; -import org.oasisopen.sca.ServiceRuntimeException; /** * @version $Rev$ $Date$ @@ -45,11 +41,11 @@ public class Axis2ConfigParamPolicyProviderFactory implements PolicyProviderFact } public PolicyProvider createReferencePolicyProvider(EndpointReference endpointReference) { - return null; + return new Axis2ConfigParamPolicyProvider(endpointReference); } public PolicyProvider createServicePolicyProvider(Endpoint endpoint) { - return null; + return new Axis2ConfigParamPolicyProvider(endpoint); } public Class getModelType() { -- cgit v1.2.3