org.openmobileis.oscar.utils.OpenmisOscarBundleCache Class Reference

List of all members.

Detailed Description

This class, combined with DefaultBundleArchive, implements the default file system-based bundle cache for Oscar. It is possible to configure the default behavior of this class by setting system properties or passing properties into Oscar's constructor. The configuration properties for this class are:

For specific information on how to configure Oscar using system properties, refer to the Oscar usage documentation.

See also:
org.ungoverned.oscar.util.DefaultBundleArchive

Definition at line 93 of file OpenmisOscarBundleCache.java.

Public Member Functions

 OpenmisOscarBundleCache ()
void initialize (PropertyResolver cfg, LogService logger) throws Exception
BundleArchive[] getArchives () throws Exception
BundleArchive getArchive (long id) throws Exception
BundleArchive create (long id, String location, InputStream is) throws Exception
void update (BundleArchive ba, InputStream is) throws Exception
void purge (BundleArchive ba) throws Exception
void remove (BundleArchive ba) throws Exception

Static Public Attributes

static final String CACHE_BUFSIZE_PROP = "oscar.cache.bufsize"
static final String CACHE_DIR_PROP = "oscar.cache.dir"
static final String CACHE_PROFILE_DIR_PROP = "oscar.cache.profiledir"
static final String CACHE_PROFILE_PROP = "oscar.cache.profile"

Static Protected Attributes

static transient int BUFSIZE = 4096
static transient final String CACHE_DIR_NAME = ".noscar"
static transient final String BUNDLE_DIR_PREFIX = "bundle"


The documentation for this class was generated from the following file:
Generated on Mon Dec 4 11:03:40 2006 for OpenMobileIS by  doxygen 1.5.1-p1