[jboss-cvs] jboss-seam/src/main/org/jboss/seam/servlet ...
Gavin King
gavin.king at jboss.com
Sun Jun 10 15:39:15 EDT 2007
User: gavin
Date: 07/06/10 15:39:15
Modified: src/main/org/jboss/seam/servlet ResourceServlet.java
Log:
cleaner
Revision Changes Path
1.10 +2 -3 jboss-seam/src/main/org/jboss/seam/servlet/ResourceServlet.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: ResourceServlet.java
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/servlet/ResourceServlet.java,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -b -r1.9 -r1.10
--- ResourceServlet.java 10 Jun 2007 19:25:59 -0000 1.9
+++ ResourceServlet.java 10 Jun 2007 19:39:15 -0000 1.10
@@ -11,8 +11,7 @@
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
-import org.jboss.seam.ScopeType;
-import org.jboss.seam.contexts.BasicContext;
+import org.jboss.seam.contexts.ApplicationContext;
import org.jboss.seam.contexts.Context;
import org.jboss.seam.core.Init;
@@ -37,7 +36,7 @@
protected void loadResourceProviders()
{
- Context tempApplicationContext = new BasicContext(ScopeType.APPLICATION, new ServletApplicationMap(context));
+ Context tempApplicationContext = new ApplicationContext( new ServletApplicationMap(context) );
Init init = (Init) tempApplicationContext.get(Init.class);
for (String name : init.getResourceProviders())
More information about the jboss-cvs-commits
mailing list