org.apache.cocoon.components.store.impl
Class DefaultStore

java.lang.Object
  extended byorg.apache.avalon.framework.logger.AbstractLogEnabled
      extended byorg.apache.excalibur.store.impl.MRUMemoryStore
          extended byorg.apache.cocoon.components.store.impl.DefaultStore
All Implemented Interfaces:
Component, Disposable, Instrumentable, LogEnabled, Parameterizable, Serviceable, Store, ThreadSafe

public class DefaultStore
extends MRUMemoryStore

Default implementation of Cocoon's store. It's a MRUMemoryStore whose "use-persistent-cache" parameter defaults to true.

This default setting allows the store to be an in-memory front-end to the persistent store.

Version:
CVS $Id: DefaultStore.java 30941 2004-07-29 19:56:58Z vgritsenko $
Author:
Sylvain Wallez

Field Summary
 
Fields inherited from interface org.apache.excalibur.store.Store
PERSISTENT_STORE, ROLE, TRANSIENT_STORE
 
Fields inherited from interface org.apache.excalibur.instrument.Instrumentable
EMPTY_INSTRUMENT_ARRAY, EMPTY_INSTRUMENTABLE_ARRAY
 
Constructor Summary
DefaultStore()
           
 
Method Summary
 void parameterize(Parameters params)
           
 
Methods inherited from class org.apache.excalibur.store.impl.MRUMemoryStore
clear, containsKey, dispose, free, get, getChildInstrumentables, getInstrumentableName, getInstruments, hold, keys, remove, service, setInstrumentableName, size, store
 
Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultStore

public DefaultStore()
Method Detail

parameterize

public void parameterize(Parameters params)
                  throws ParameterException
Throws:
ParameterException


Copyright ? 1999-2005 The Apache Software Foundation. All Rights Reserved.