[DAISY] Updated: EventAwareCache
| Newsgroups | gmane.text.xml.cocoon.documentation |
|---|---|
| Message-ID | <[email protected]> |
A document has been updated:
http://cocoon.zones.apache.org/daisy/documentation/1492.html
Document ID: 1492
Branch: main
Language: default
Name: EventAwareCache (unchanged)
Document Type: Cocoon Document (unchanged)
Updated on: 8/17/08 3:39:40 PM
Updated by: Lukas Lang
A new version has been created, state: draft
Parts
=====
Content
-------
This part has been updated.
Mime type: text/xml (unchanged)
File name: (unchanged)
Size: 2442 bytes (previous version: 1538 bytes)
Content diff:
(41 equal lines skipped)
<h3>Configuration</h3>
+++ <p>There is no special need to configure an eventaware cache, as the block
+++ implementation provides all necessary Spring configuration files.</p>
+++
+++ <pre> <!-- Event-cache implementation based on the default CacheImpl. -->
+++ <bean name="org.apache.cocoon.caching.Cache/EventAware"
+++ class="org.apache.cocoon.caching.impl.EventAwareCacheImpl" init-method="initialize">
+++ <property name="store" ref="org.apache.excalibur.store.Store/TransientStore" />
+++ <property name="eventRegistry" ref="org.apache.cocoon.caching.EventRegistry" />
+++ </bean>
+++
+++ <!-- Event-cache registry. -->
+++ <bean name="org.apache.cocoon.caching.EventRegistry"
+++ class="org.apache.cocoon.caching.impl.StoreEventRegistryImpl" init-method="initialize">
+++ <property name="store" ref="org.apache.excalibur.store.Store/TransientStore" />
+++ </bean>
+++ </pre>
+++
</body>
</html>
Fields
======
CocoonBlock: eventcache (new field)