summaryrefslogtreecommitdiffstats
path: root/java/sca/modules/binding-ws-axis2
diff options
context:
space:
mode:
Diffstat (limited to 'java/sca/modules/binding-ws-axis2')
-rw-r--r--java/sca/modules/binding-ws-axis2/src/main/java/org/apache/tuscany/sca/binding/ws/axis2/Axis2ConfiguratorHelper.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/java/sca/modules/binding-ws-axis2/src/main/java/org/apache/tuscany/sca/binding/ws/axis2/Axis2ConfiguratorHelper.java b/java/sca/modules/binding-ws-axis2/src/main/java/org/apache/tuscany/sca/binding/ws/axis2/Axis2ConfiguratorHelper.java
index 782cfd6066..a7dc09ea6d 100644
--- a/java/sca/modules/binding-ws-axis2/src/main/java/org/apache/tuscany/sca/binding/ws/axis2/Axis2ConfiguratorHelper.java
+++ b/java/sca/modules/binding-ws-axis2/src/main/java/org/apache/tuscany/sca/binding/ws/axis2/Axis2ConfiguratorHelper.java
@@ -26,7 +26,7 @@ import java.security.PrivilegedExceptionAction;
import org.apache.axis2.AxisFault;
import org.apache.axis2.context.ConfigurationContext;
import org.apache.axis2.deployment.URLBasedAxisConfigurator;
-import org.apache.tuscany.sca.extensibility.ServiceDiscovery;
+import org.apache.tuscany.sca.extensibility.ClassLoaderContext;
import org.oasisopen.sca.ServiceRuntimeException;
/**
@@ -56,7 +56,7 @@ public class Axis2ConfiguratorHelper {
// The axis2 class loader
ClassLoader cl1 = URLBasedAxisConfigurator.class.getClassLoader();
- ClassLoader tccl = ServiceDiscovery.getInstance().setContextClassLoader(cl0, cl1);
+ ClassLoader tccl = ClassLoaderContext.setContextClassLoader(cl0, cl1);
try {
return new TuscanyAxisConfigurator(isRampartRequired).getConfigurationContext();