diff options
author | slaws <slaws@13f79535-47bb-0310-9956-ffa450edef68> | 2010-02-25 15:07:17 +0000 |
---|---|---|
committer | slaws <slaws@13f79535-47bb-0310-9956-ffa450edef68> | 2010-02-25 15:07:17 +0000 |
commit | 681675a8f65c5f9a218ec773be1a92198b5f587e (patch) | |
tree | 8fc46c4d5a687f91927d7d4b53e8f4902b116893 /sca-java-2.x/trunk | |
parent | fe464e64738bc7d3e97f67cdbf813bda5e9be418 (diff) |
Fluff up a policy provider instance
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@916311 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/trunk')
-rw-r--r-- | sca-java-2.x/trunk/modules/binding-ws-runtime-axis2/src/main/java/org/apache/tuscany/sca/binding/ws/axis2/policy/configuration/Axis2ConfigParamPolicyProviderFactory.java | 10 |
1 files changed, 3 insertions, 7 deletions
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<Axis2ConfigParamPolicy> getModelType() { |