org.apache.avalon.cornerstone.blocks.masterstore
Class CDIFilePersistentObjectRepository

java.lang.Object
  extended byorg.apache.avalon.cornerstone.blocks.masterstore.AbstractFileRepository
      extended byorg.apache.avalon.cornerstone.blocks.masterstore.AbstractFilePersistentObjectRepository
          extended byorg.apache.avalon.cornerstone.blocks.masterstore.CDIFilePersistentObjectRepository
All Implemented Interfaces:
ObjectRepository, Repository

public class CDIFilePersistentObjectRepository
extends AbstractFilePersistentObjectRepository
implements ObjectRepository

This is a simple implementation of persistent object store using object serialization on the file system.

Author:
Paul Hammant

Field Summary
 
Fields inherited from class org.apache.avalon.cornerstone.blocks.masterstore.AbstractFileRepository
BYTE_MASK, DEBUG, HANDLED_URL, HEX_DIGITS, m_baseDirectory, m_destination, m_extension, m_filter, m_name, m_path, monitor
 
Constructor Summary
CDIFilePersistentObjectRepository(FileRepositoryMonitor monitor, ObjectRespositoryConfig config)
           
 
Method Summary
protected  void initializeChild(AbstractFileRepository child)
           
 
Methods inherited from class org.apache.avalon.cornerstone.blocks.masterstore.AbstractFilePersistentObjectRepository
get, get, getExtensionDecorator, put
 
Methods inherited from class org.apache.avalon.cornerstone.blocks.masterstore.AbstractFileRepository
containsKey, createChildRepository, decode, encode, getChildRepository, getFile, getInputStream, getOutputStream, list, remove, setDestination
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.avalon.cornerstone.services.store.ObjectRepository
containsKey, get, get, list, put, remove
 
Methods inherited from interface org.apache.avalon.cornerstone.services.store.Repository
getChildRepository
 

Constructor Detail

CDIFilePersistentObjectRepository

public CDIFilePersistentObjectRepository(FileRepositoryMonitor monitor,
                                         ObjectRespositoryConfig config)
                                  throws java.io.IOException
Method Detail

initializeChild

protected void initializeChild(AbstractFileRepository child)
                        throws java.lang.Exception
Specified by:
initializeChild in class AbstractFileRepository
Throws:
java.lang.Exception


Copyright © 1997-2005 The Apache Software Foundation. All Rights Reserved.