You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by mp...@apache.org on 2005/12/23 16:17:17 UTC
svn commit: r358816 -
/cocoon/branches/BRANCH_2_1_X/src/blocks/eventcache/conf/eventcache-pipeline.xmap
Author: mpfingsthorn
Date: Fri Dec 23 07:17:10 2005
New Revision: 358816
URL: http://svn.apache.org/viewcvs?rev=358816&view=rev
Log:
Making event caching pipeline available for other components to use in samples without having to define it in their own sitemaps
Added:
cocoon/branches/BRANCH_2_1_X/src/blocks/eventcache/conf/eventcache-pipeline.xmap (with props)
Added: cocoon/branches/BRANCH_2_1_X/src/blocks/eventcache/conf/eventcache-pipeline.xmap
URL: http://svn.apache.org/viewcvs/cocoon/branches/BRANCH_2_1_X/src/blocks/eventcache/conf/eventcache-pipeline.xmap?rev=358816&view=auto
==============================================================================
--- cocoon/branches/BRANCH_2_1_X/src/blocks/eventcache/conf/eventcache-pipeline.xmap (added)
+++ cocoon/branches/BRANCH_2_1_X/src/blocks/eventcache/conf/eventcache-pipeline.xmap Fri Dec 23 07:17:10 2005
@@ -0,0 +1,23 @@
+<?xml version="1.0"?>
+<!--
+ Copyright 1999-2004 The Apache Software Foundation
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<xmap xmlns:map="http://apache.org/cocoon/sitemap/1.0"
+ xpath="/sitemap/components/pipes"
+ unless="pipe[@name='event-aware']">
+ <map:pipe name="event-aware" src="org.apache.cocoon.components.pipeline.impl.CachingProcessingPipeline">
+ <parameter name="cache-role" value="org.apache.cocoon.caching.Cache/EventAware"/>
+ </map:pipe>
+</xmap>
\ No newline at end of file
Propchange: cocoon/branches/BRANCH_2_1_X/src/blocks/eventcache/conf/eventcache-pipeline.xmap
------------------------------------------------------------------------------
svn:eol-style = native