You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-dev@portals.apache.org by sm...@apache.org on 2007/10/12 02:45:08 UTC
svn commit: r584008 - in
/portals/jetspeed-2/branches/JETSPEED-2.1.3/src/webapp/WEB-INF/assembly:
cache.xml desktop.xml
Author: smilek
Date: Thu Oct 11 17:45:07 2007
New Revision: 584008
URL: http://svn.apache.org/viewvc?rev=584008&view=rev
Log:
added cache for localized desktop text labels
Modified:
portals/jetspeed-2/branches/JETSPEED-2.1.3/src/webapp/WEB-INF/assembly/cache.xml
portals/jetspeed-2/branches/JETSPEED-2.1.3/src/webapp/WEB-INF/assembly/desktop.xml
Modified: portals/jetspeed-2/branches/JETSPEED-2.1.3/src/webapp/WEB-INF/assembly/cache.xml
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/branches/JETSPEED-2.1.3/src/webapp/WEB-INF/assembly/cache.xml?rev=584008&r1=584007&r2=584008&view=diff
==============================================================================
--- portals/jetspeed-2/branches/JETSPEED-2.1.3/src/webapp/WEB-INF/assembly/cache.xml (original)
+++ portals/jetspeed-2/branches/JETSPEED-2.1.3/src/webapp/WEB-INF/assembly/cache.xml Thu Oct 11 17:45:07 2007
@@ -120,6 +120,14 @@
<property name="cacheName" value="portletApplicationNameCache" />
</bean>
+ <bean id="ehDesktopContentCache"
+ class="org.springframework.cache.ehcache.EhCacheFactoryBean">
+ <property name="cacheManager">
+ <ref local="cacheManager" />
+ </property>
+ <property name="cacheName" value="desktopContentCache" />
+ </bean>
+
<bean id="portletApplicationOidCache"
class="org.apache.jetspeed.cache.impl.EhCacheImpl">
<constructor-arg>
@@ -131,6 +139,13 @@
class="org.apache.jetspeed.cache.impl.EhCacheDistributedImpl">
<constructor-arg>
<ref bean="ehPortletApplicationNameCache" />
+ </constructor-arg>
+ </bean>
+
+ <bean id="desktopContentCache"
+ class="org.apache.jetspeed.cache.impl.EhCacheImpl">
+ <constructor-arg>
+ <ref bean="ehDesktopContentCache" />
</constructor-arg>
</bean>
Modified: portals/jetspeed-2/branches/JETSPEED-2.1.3/src/webapp/WEB-INF/assembly/desktop.xml
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/branches/JETSPEED-2.1.3/src/webapp/WEB-INF/assembly/desktop.xml?rev=584008&r1=584007&r2=584008&view=diff
==============================================================================
--- portals/jetspeed-2/branches/JETSPEED-2.1.3/src/webapp/WEB-INF/assembly/desktop.xml (original)
+++ portals/jetspeed-2/branches/JETSPEED-2.1.3/src/webapp/WEB-INF/assembly/desktop.xml Thu Oct 11 17:45:07 2007
@@ -31,19 +31,22 @@
<constructor-arg index="1">
<ref bean="org.apache.jetspeed.headerresource.HeaderResourceFactory" />
</constructor-arg>
- <constructor-arg index="2"> <!-- desktop servlet path -->
+ <constructor-arg index="2">
+ <ref bean="desktopContentCache" />
+ </constructor-arg>
+ <constructor-arg index="3"> <!-- desktop servlet path -->
<value>/desktop</value>
</constructor-arg>
- <constructor-arg index="3"> <!-- default desktop layout extension -->
+ <constructor-arg index="4"> <!-- default desktop layout extension -->
<value>.jsp</value>
</constructor-arg>
<!-- Optional decoration defaults for desktop - bean id 'DesktopConfiguration' (in headtag.xml)
supports the settings 'desktop.decoration.layout' and 'desktop.decoration.portlet', which if
specified, override the values set here -->
- <constructor-arg index="4"> <!-- default desktop layout decoration -->
+ <constructor-arg index="5"> <!-- default desktop layout decoration -->
<value>tigris</value>
</constructor-arg>
- <constructor-arg index="5"> <!-- default desktop portlet decoration -->
+ <constructor-arg index="6"> <!-- default desktop portlet decoration -->
<value>tigris</value>
</constructor-arg>
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org