summaryrefslogtreecommitdiffstats
path: root/java/sca
diff options
context:
space:
mode:
Diffstat (limited to 'java/sca')
-rw-r--r--java/sca/modules/stripes/src/main/java/org/apache/tuscany/sca/stripes/TuscanyHelper.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/java/sca/modules/stripes/src/main/java/org/apache/tuscany/sca/stripes/TuscanyHelper.java b/java/sca/modules/stripes/src/main/java/org/apache/tuscany/sca/stripes/TuscanyHelper.java
index 1ee0d9e287..f4d7f48dae 100644
--- a/java/sca/modules/stripes/src/main/java/org/apache/tuscany/sca/stripes/TuscanyHelper.java
+++ b/java/sca/modules/stripes/src/main/java/org/apache/tuscany/sca/stripes/TuscanyHelper.java
@@ -34,7 +34,7 @@ import net.sourceforge.stripes.exception.StripesRuntimeException;
import net.sourceforge.stripes.util.Log;
import net.sourceforge.stripes.util.ReflectUtil;
-import org.apache.tuscany.sca.implementation.web.runtime.WebApplicationUtils;
+import org.apache.tuscany.sca.implementation.web.runtime.utils.ContextHelper;
import org.oasisopen.sca.annotation.Reference;
/**
@@ -244,7 +244,7 @@ public class TuscanyHelper {
Class<?> type,
boolean allowFindByType) {
// First try to lookup using the name provided
- Object bean = WebApplicationUtils.getReference(name, type, ctx);
+ Object bean = ContextHelper.getReference(name, type, ctx);
if (bean == null) {
throw new StripesRuntimeException("no reference defined:" + name);
}