portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wea...@apache.org
Subject svn commit: r329255 - in /portals/jetspeed-2/trunk/src/webapp/WEB-INF/assembly: jetspeed-spring.xml pluto-factories.xml
Date Fri, 28 Oct 2005 17:20:36 GMT
Author: weaver
Date: Fri Oct 28 10:20:32 2005
New Revision: 329255

URL: http://svn.apache.org/viewcvs?rev=329255&view=rev
Log:
ServletRequestFactory and ServletResponseFactory no longer use the PlutoFactoryBean.

Modified:
    portals/jetspeed-2/trunk/src/webapp/WEB-INF/assembly/jetspeed-spring.xml
    portals/jetspeed-2/trunk/src/webapp/WEB-INF/assembly/pluto-factories.xml

Modified: portals/jetspeed-2/trunk/src/webapp/WEB-INF/assembly/jetspeed-spring.xml
URL: http://svn.apache.org/viewcvs/portals/jetspeed-2/trunk/src/webapp/WEB-INF/assembly/jetspeed-spring.xml?rev=329255&r1=329254&r2=329255&view=diff
==============================================================================
--- portals/jetspeed-2/trunk/src/webapp/WEB-INF/assembly/jetspeed-spring.xml (original)
+++ portals/jetspeed-2/trunk/src/webapp/WEB-INF/assembly/jetspeed-spring.xml Fri Oct 28 10:20:32
2005
@@ -128,6 +128,12 @@
         <constructor-arg>
             <ref bean="Engine" />
         </constructor-arg>
+		<property name="requestFactory">
+			<ref bean="ServletRequestFactory" />
+		</property>
+		<property name="responseFactory">
+			<ref bean="ServletResponseFactory" />
+		</property>
     </bean>
 
 

Modified: portals/jetspeed-2/trunk/src/webapp/WEB-INF/assembly/pluto-factories.xml
URL: http://svn.apache.org/viewcvs/portals/jetspeed-2/trunk/src/webapp/WEB-INF/assembly/pluto-factories.xml?rev=329255&r1=329254&r2=329255&view=diff
==============================================================================
--- portals/jetspeed-2/trunk/src/webapp/WEB-INF/assembly/pluto-factories.xml (original)
+++ portals/jetspeed-2/trunk/src/webapp/WEB-INF/assembly/pluto-factories.xml Fri Oct 28 10:20:32
2005
@@ -201,19 +201,14 @@
   </bean>
  
    
-  <bean id="javax.servlet.http.HttpServletRequest"
-        class="org.apache.jetspeed.components.factorybeans.PlutoFactoryFactoryBean"
-  >             
-       <property name="className"><value>org.apache.jetspeed.engine.servlet.ServletRequestFactoryImpl</value></property>
-       <property name="servletConfig"><ref bean="javax.servlet.ServletConfig"/></property>
-  </bean>
+  <bean id="ServletRequestFactory" 
+	    name="javax.servlet.http.HttpServletRequest" 
+	    class="org.apache.jetspeed.engine.servlet.ServletRequestFactoryImpl" />
   
-  <bean id="javax.servlet.http.HttpServletResponse"
-        class="org.apache.jetspeed.components.factorybeans.PlutoFactoryFactoryBean"
-  >             
-       <property name="className"><value>org.apache.jetspeed.engine.servlet.ServletResponseFactoryImpl</value></property>
-       <property name="servletConfig"><ref bean="javax.servlet.ServletConfig"/></property>
-  </bean>
+   <bean id="ServletResponseFactory" 
+	    name="javax.servlet.http.HttpServletResponse" 
+	    class="org.apache.jetspeed.engine.servlet.ServletResponseFactoryImpl" />
+
   
   <bean id="org.apache.pluto.om.ControllerFactory"
         class="org.apache.jetspeed.components.factorybeans.PlutoFactoryFactoryBean"



---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


Mime
View raw message