tuscany-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From antel...@apache.org
Subject svn commit: r748047 - /tuscany/java/sca/modules/stripes/src/main/java/org/apache/tuscany/sca/stripes/TuscanyHelper.java
Date Thu, 26 Feb 2009 07:25:11 GMT
Author: antelder
Date: Thu Feb 26 07:25:10 2009
New Revision: 748047

URL: http://svn.apache.org/viewvc?rev=748047&view=rev
Log:
Update for renamed helper class

Modified:
    tuscany/java/sca/modules/stripes/src/main/java/org/apache/tuscany/sca/stripes/TuscanyHelper.java

Modified: tuscany/java/sca/modules/stripes/src/main/java/org/apache/tuscany/sca/stripes/TuscanyHelper.java
URL: http://svn.apache.org/viewvc/tuscany/java/sca/modules/stripes/src/main/java/org/apache/tuscany/sca/stripes/TuscanyHelper.java?rev=748047&r1=748046&r2=748047&view=diff
==============================================================================
--- tuscany/java/sca/modules/stripes/src/main/java/org/apache/tuscany/sca/stripes/TuscanyHelper.java
(original)
+++ tuscany/java/sca/modules/stripes/src/main/java/org/apache/tuscany/sca/stripes/TuscanyHelper.java
Thu Feb 26 07:25:10 2009
@@ -34,7 +34,7 @@
 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 @@
                                            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);
             }



Mime
View raw message