com.mkdoc.store
Class LocalStoreManager

java.lang.Object
  |
  +--com.mkdoc.store.AbstractStoreManager
        |
        +--com.mkdoc.store.LocalStoreManager
All Implemented Interfaces:
Manager, StoreManager

public class LocalStoreManager
extends AbstractStoreManager
implements StoreManager

A store manager for a local Sesame repository.

Version:
0.1 2005-11-01
Author:
Philip Shaw

Field Summary
protected  java.io.File outputDir
          The current output directory.
 
Fields inherited from class com.mkdoc.store.AbstractStoreManager
repository
 
Fields inherited from interface com.mkdoc.store.StoreManager
REPOSITORY
 
Constructor Summary
LocalStoreManager()
           
 
Method Summary
protected  java.lang.String configureOutput(ApplicationContext context)
          Configure the output directory from the plugin property set.
protected  java.lang.String configureRepository(ApplicationContext context)
          Configure the output directory from the plugin property set.
 java.lang.String getExtension()
          Get the extension for storage files.
 void initialize(ApplicationContext context)
          Initialize the manager.
 void shutdown()
          Shut down the manager.
 
Methods inherited from class com.mkdoc.store.AbstractStoreManager
addDocumentStatements, addXmlRdfStream, executeQuery, isActive, setActive
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.mkdoc.store.StoreManager
addDocumentStatements, addXmlRdfStream, executeQuery
 

Field Detail

outputDir

protected java.io.File outputDir
The current output directory.

Since:
Version 0.1 2005-11-01
Constructor Detail

LocalStoreManager

public LocalStoreManager()
Method Detail

initialize

public final void initialize(ApplicationContext context)
Initialize the manager.

Specified by:
initialize in interface Manager
Parameters:
context - The application context for this manager.
Since:
Version 0.1 2005-11-01

shutdown

public final void shutdown()
Shut down the manager.

Specified by:
shutdown in interface Manager
Since:
Version 0.1 2005-11-01

configureOutput

protected final java.lang.String configureOutput(ApplicationContext context)
Configure the output directory from the plugin property set.

Parameters:
context - The plugin application context.
Returns:
A status message giving the path of the output directory.
Since:
Version 0.1 2005-11-01

configureRepository

protected final java.lang.String configureRepository(ApplicationContext context)
Configure the output directory from the plugin property set.

Parameters:
context - The plugin application context.
Returns:
A status message giving the path of the output directory.
Since:
Version 0.1 2005-11-01

getExtension

public final java.lang.String getExtension()
Get the extension for storage files.

Returns:
An RDF file extension.
Since:
Version 0.1 2005-11-01