org.apache.avalon.cornerstone.blocks.masterstore
Class AbstractFilePersistentObjectRepository
java.lang.Object
org.apache.avalon.cornerstone.blocks.masterstore.AbstractFileRepository
org.apache.avalon.cornerstone.blocks.masterstore.AbstractFilePersistentObjectRepository
- All Implemented Interfaces:
- ObjectRepository, Repository
- Direct Known Subclasses:
- CDIFilePersistentObjectRepository, File_Persistent_Object_Repository
public abstract class AbstractFilePersistentObjectRepository
- extends AbstractFileRepository
- implements ObjectRepository
- Version:
- $Revision: 1.8 $
- Author:
- Paul Hammant
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 |
Methods inherited from class org.apache.avalon.cornerstone.blocks.masterstore.AbstractFileRepository |
containsKey, createChildRepository, decode, encode, getChildRepository, getFile, getInputStream, getOutputStream, initializeChild, list, remove, setDestination |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractFilePersistentObjectRepository
public AbstractFilePersistentObjectRepository()
get
public Object get(String key)
- Get the object associated to the given unique key.
- Specified by:
get
in interface ObjectRepository
get
public Object get(String key,
ClassLoader classLoader)
- Specified by:
get
in interface ObjectRepository
put
public void put(String key,
Object value)
- Store the given object and associates it to the given key
- Specified by:
put
in interface ObjectRepository
getExtensionDecorator
protected String getExtensionDecorator()
- Specified by:
getExtensionDecorator
in class AbstractFileRepository
Copyright © 2012 The Apache Software Foundation. All Rights Reserved.