portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wea...@apache.org
Subject cvs commit: jakarta-jetspeed/webapp/WEB-INF/conf/assembly pluto-factories.xml jetspeed-spring.xml
Date Sun, 01 Aug 2004 15:54:19 GMT
weaver      2004/08/01 08:54:19

  Modified:    webapp/WEB-INF/conf/assembly jetspeed-spring.xml
  Added:       webapp/WEB-INF/conf/assembly pluto-factories.xml
  Log:
  Added ServletConfig component.
  Added portlet factory and cache.
  Added pluto-factories config
  
  Revision  Changes    Path
  1.3       +31 -0     jakarta-jetspeed/webapp/WEB-INF/conf/assembly/jetspeed-spring.xml
  
  Index: jetspeed-spring.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed/webapp/WEB-INF/conf/assembly/jetspeed-spring.xml,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- jetspeed-spring.xml	23 Jul 2004 07:10:35 -0000	1.2
  +++ jetspeed-spring.xml	1 Aug 2004 15:54:19 -0000	1.3
  @@ -25,6 +25,13 @@
         <value>${applicationRoot}/WEB-INF/conf/fusion.properties</value>
       </constructor-arg>
     </bean>  
  +  
  +  <!-- ServletConfig -->
  +    <bean id="javax.servlet.ServletConfig"
  +        class="org.apache.jetspeed.components.factorybeans.ServletConfigFactoryBean"
  +  />             
  +
  +
      
     <!-- Portlet Services  -->
     <bean id="PortalServices" 
  @@ -219,6 +226,28 @@
     	   <constructor-arg ><ref bean="org.apache.pluto.PortletContainer" /></constructor-arg>
     	   <constructor-arg ><ref bean="org.apache.jetspeed.container.window.PortletWindowAccessor"
/></constructor-arg>
     </bean>
  +  
  +  <!-- Portlet Cache -->
  +  <bean id="portletCache" 
  +  	   class="org.apache.jetspeed.cache.PortletCache"  
  +  >  	   
  +
  +  </bean>
  +  
  +  <!-- Portlet Factory -->
  +  <bean id="portletFactory" 
  +  	   class="org.apache.jetspeed.factory.JetspeedPortletFactory"  
  +  >  	   
  +  	   <constructor-arg ><ref bean="portletCache" /></constructor-arg>
 	   
  +  </bean>
  +  
  +  <!-- Portlet Factory Proxy Accessor-->
  +  <bean id="portletFactoryProxy" 
  +  	   class="org.apache.jetspeed.factory.JetspeedPortletFactoryProxy"
  +  	   destroy-method="reset"  
  +  >  	   
  +  	   <constructor-arg ><ref bean="portletFactory" /></constructor-arg>
 	   
  +  </bean>
     	   
     <!-- Aggregation: Page -->
     <bean id="org.apache.jetspeed.aggregator.PageAggregator" 
  @@ -265,6 +294,7 @@
     	   <constructor-arg ><ref bean="org.apache.jetspeed.components.portletentity.PortletEntityAccessComponent"
/></constructor-arg>
     	   <constructor-arg ><ref bean="org.apache.jetspeed.container.window.PortletWindowAccessor"
/></constructor-arg>
     	   <constructor-arg ><ref bean="org.apache.jetspeed.tools.pamanager.servletcontainer.ApplicationServerManager"
/></constructor-arg>
  +  	   <constructor-arg ><ref bean="portletCache" /></constructor-arg>
 
     </bean>
     
     <!-- Portlet Application deployment event listener -->
  @@ -274,6 +304,7 @@
          <constructor-arg ><value>${autodeployment.staging.dir}</value></constructor-arg>
     	   <constructor-arg ><ref bean="PAM" /></constructor-arg>
     	   <constructor-arg ><ref bean="org.apache.jetspeed.components.portletregistry.PortletRegistryComponent"
/></constructor-arg>
  +  	   <constructor-arg><ref bean="portletFactory"/></constructor-arg>
     </bean>
     
     <!-- The deployment manager watches a specific staging directory for
  
  
  
  1.1                  jakarta-jetspeed/webapp/WEB-INF/conf/assembly/pluto-factories.xml
  
  Index: pluto-factories.xml
  ===================================================================
  <?xml version="1.0" encoding="UTF-8"?>
  <!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http://www.springframework.org/dtd/spring-beans.dtd">
  
  <beans> 
    <bean id="javax.portlet.ActionRequest"
          class="org.apache.jetspeed.components.factorybeans.PlutoFactoryFactoryBean"
    >             
         <property name="className"><value>org.apache.pluto.factory.impl.ActionRequestFactoryImpl</value></property>
         <property name="servletConfig"><ref bean="javax.servlet.ServletConfig"/></property>
    </bean>
    
    <bean id="javax.portlet.RenderRequest"
          class="org.apache.jetspeed.components.factorybeans.PlutoFactoryFactoryBean"
    >             
         <property name="className"><value>org.apache.pluto.factory.impl.RenderRequestFactoryImpl</value></property>
         <property name="servletConfig"><ref bean="javax.servlet.ServletConfig"/></property>
         <property name="props">
         	<map>
         	 <entry key="myproperty">
         	 	<value>myvalue</value>
         	 </entry>
         	</map>       	
         </property>
    </bean>
    
    <bean id="javax.portlet.RenderResponse"
          class="org.apache.jetspeed.components.factorybeans.PlutoFactoryFactoryBean"
    >             
         <property name="className"><value>org.apache.pluto.factory.impl.RenderResponseFactoryImpl</value></property>
         <property name="servletConfig"><ref bean="javax.servlet.ServletConfig"/></property>
    </bean>
    
    <bean id="javax.portlet.PortletSession"
          class="org.apache.jetspeed.components.factorybeans.PlutoFactoryFactoryBean"
    >             
         <property name="className"><value>org.apache.pluto.factory.impl.PortletSessionFactoryImpl</value></property>
         <property name="servletConfig"><ref bean="javax.servlet.ServletConfig"/></property>
    </bean>
    
    <bean id="javax.portlet.PortletConfig"
          class="org.apache.jetspeed.components.factorybeans.PlutoFactoryFactoryBean"
    >             
         <property name="className"><value>org.apache.pluto.factory.impl.PortletConfigFactoryImpl</value></property>
         <property name="servletConfig"><ref bean="javax.servlet.ServletConfig"/></property>
    </bean>
    
    <bean id="javax.portlet.PortletContext"
          class="org.apache.jetspeed.components.factorybeans.PlutoFactoryFactoryBean"
    >             
         <property name="className"><value>org.apache.pluto.factory.impl.PortletContextFactoryImpl</value></property>
         <property name="servletConfig"><ref bean="javax.servlet.ServletConfig"/></property>
    </bean>
    
    <bean id="javax.portlet.PortalContext"
          class="org.apache.jetspeed.components.factorybeans.PlutoFactoryFactoryBean"
    >             
         <property name="className"><value>org.apache.pluto.factory.impl.PortalContextFactoryImpl</value></property>
         <property name="servletConfig"><ref bean="javax.servlet.ServletConfig"/></property>
    </bean>
    
    <bean id="javax.portlet.ActionResponse"
          class="org.apache.jetspeed.components.factorybeans.PlutoFactoryFactoryBean"
    >             
         <property name="className"><value>org.apache.pluto.factory.impl.ActionResponseFactoryImpl</value></property>
         <property name="servletConfig"><ref bean="javax.servlet.ServletConfig"/></property>
    </bean>
    
    <bean id="javax.portlet.PortletURL"
          class="org.apache.jetspeed.components.factorybeans.PlutoFactoryFactoryBean"
    >             
         <property name="className"><value>org.apache.pluto.factory.impl.PortletURLFactoryImpl</value></property>
         <property name="servletConfig"><ref bean="javax.servlet.ServletConfig"/></property>
    </bean>
    
    <bean id="javax.portlet.PortletPreferences"
          class="org.apache.jetspeed.components.factorybeans.PlutoFactoryFactoryBean"
    >             
         <property name="className"><value>org.apache.pluto.factory.impl.PortletPreferencesFactoryImpl</value></property>
         <property name="servletConfig"><ref bean="javax.servlet.ServletConfig"/></property>
    </bean>
    
    <!-- Problem???
    <bean id="javax.portlet.PreferencesValidator"
          class="org.apache.jetspeed.components.factorybeans.PlutoFactoryFactoryBean"
    >             
         <property name="className"><value>org.apache.pluto.factory.impl.PreferencesValidatorFactoryImpl</value></property>
         <property name="servletConfig"><ref bean="javax.servlet.ServletConfig"/></property>
    </bean>
    -->
    
    
     <bean id="org.apache.pluto.invoker.PortletInvoker"
          class="org.apache.jetspeed.components.factorybeans.PlutoFactoryFactoryBean"
    >             
         <property name="className"><value>org.apache.jetspeed.container.invoker.PortletInvokerFactoryImpl</value></property>
         <property name="servletConfig"><ref bean="javax.servlet.ServletConfig"/></property>
    </bean>
    
    <bean id="org.apache.pluto.util.NamespaceMapper"
          class="org.apache.jetspeed.components.factorybeans.PlutoFactoryFactoryBean"
    >             
         <property name="className"><value>org.apache.pluto.util.impl.NamespaceMapperFactoryImpl</value></property>
         <property name="servletConfig"><ref bean="javax.servlet.ServletConfig"/></property>
    </bean>
    
   
    <bean id="org.apache.pluto.services.information.InformationProviderService"
    	    name="org.apache.pluto.services.information.StaticInformationProvider,org.apache.pluto.services.information.DynamicInformationProvider,org.apache.pluto.services.information.PortletActionProvider,org.apache.pluto.services.information.PortalContextProvider"
          class="org.apache.jetspeed.components.factorybeans.PlutoFactoryFactoryBean"
    >             
         <property name="className"><value>org.apache.jetspeed.services.information.InformationProviderServiceImpl</value></property>
         <property name="servletConfig"><ref bean="javax.servlet.ServletConfig"/></property>
    </bean>  
    
    <!--
    <bean id="org.apache.pluto.services.information.StaticInformationProvider"
          class="org.apache.jetspeed.components.factorybeans.PlutoFactoryFactoryBean"
    >             
         <property name="className"><value>org.apache.jetspeed.services.information.InformationProviderServiceImpl</value></property>
         <property name="servletConfig"><ref bean="javax.servlet.ServletConfig"/></property>
    </bean>
    
    <bean id="org.apache.pluto.services.information.DynamicInformationProvider"
          class="org.apache.jetspeed.components.factorybeans.PlutoFactoryFactoryBean"
    >             
         <property name="className"><value>org.apache.jetspeed.services.information.InformationProviderServiceImpl</value></property>
         <property name="servletConfig"><ref bean="javax.servlet.ServletConfig"/></property>
    </bean>
    
    <bean id="org.apache.pluto.services.information.PortletActionProvider"
          class="org.apache.jetspeed.components.factorybeans.PlutoFactoryFactoryBean"
    >             
         <property name="className"><value>org.apache.jetspeed.services.information.InformationProviderServiceImpl</value></property>
         <property name="servletConfig"><ref bean="javax.servlet.ServletConfig"/></property>
    </bean>
    
    <bean id="org.apache.pluto.services.information.PortalContextProvider"
          class="org.apache.jetspeed.components.factorybeans.PlutoFactoryFactoryBean"
    >             
         <property name="className"><value>org.apache.jetspeed.services.information.InformationProviderServiceImpl</value></property>
         <property name="servletConfig"><ref bean="javax.servlet.ServletConfig"/></property>
    </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="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="org.apache.pluto.om.ControllerFactory"
          class="org.apache.jetspeed.components.factorybeans.PlutoFactoryFactoryBean"
    >             
         <property name="className"><value>org.apache.jetspeed.om.ControllerFactoryImpl</value></property>
         <property name="servletConfig"><ref bean="javax.servlet.ServletConfig"/></property>
    </bean>
  	
  </beans>
  
  

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


Mime
View raw message