fr.paris5.shaman.insight.content
Class FileSystemStore

fr.paris5.shaman.insight.content.FileSystemStore
All Implemented Interfaces:
BLOBStore

public class FileSystemStore
implements BLOBStore

Implementation of a BLOBStore relying on local filesystem. Using this implementation implies that Spirit and Insight servers must run on the same physical host.

Version:
$Id: FileSystemStore.java,v 1.3 2002/08/07 13:30:53 caillette Exp $
Author:
Laurent Caillette

Fields inherited from interface fr.paris5.shaman.insight.content.BLOBStore
ROLE
 
Constructor Summary
FileSystemStore()
           
 
Method Summary
 void clearAll()
          Clears all store content, use at your own risk !
 void compose(org.apache.avalon.framework.component.ComponentManager componentManager)
           
 void configure(org.apache.avalon.framework.configuration.Configuration configuration)
           
 StoreFeeder createStoreFeeder(ImportParameters importParameters)
          Creates a StoreFeeder, which will handle access to physical data store.
protected  InsightModel getInsightModel()
           
 java.net.URL getResourceURL(Fragment fragment)
           
 java.net.URL getResourceURL(Publication publication, java.lang.String fragmentPath)
           
 void initialize()
           
 

Constructor Detail

FileSystemStore

public FileSystemStore()
Method Detail

compose

public void compose(org.apache.avalon.framework.component.ComponentManager componentManager)

configure

public void configure(org.apache.avalon.framework.configuration.Configuration configuration)
               throws org.apache.avalon.framework.configuration.ConfigurationException

initialize

public void initialize()
                throws java.lang.Exception

clearAll

public void clearAll()
Description copied from interface: BLOBStore
Clears all store content, use at your own risk !
Specified by:
clearAll in interface BLOBStore

getInsightModel

protected InsightModel getInsightModel()

createStoreFeeder

public StoreFeeder createStoreFeeder(ImportParameters importParameters)
Description copied from interface: BLOBStore
Creates a StoreFeeder, which will handle access to physical data store.
Specified by:
createStoreFeeder in interface BLOBStore
Following copied from interface: fr.paris5.shaman.insight.content.BLOBStore
Parameters:
importParameters -  
Returns:
 

getResourceURL

public java.net.URL getResourceURL(Fragment fragment)

getResourceURL

public java.net.URL getResourceURL(Publication publication,
                                   java.lang.String fragmentPath)
Specified by:
getResourceURL in interface BLOBStore


Copyright © 2002 Laurent Caillette and l'Université René Descartes, Paris 5. All rights reserved.