com.mkdoc.store
Class AbstractDatabaseStoreManager

java.lang.Object
  |
  +--com.mkdoc.store.AbstractDatabaseStoreManager

public abstract class AbstractDatabaseStoreManager
extends java.lang.Object

Manage RDF resources stored in a Sesame database repository.

Version:
0.3 2005-07-25
Author:
Philip Shaw

Field Summary
static java.lang.String DB_NAME
          The database name key.
static java.lang.String DB_PASS
          The database password key.
static java.lang.String DB_USER
          The database user key.
static java.lang.String DB_VENDOR
          The database vendor key.
static java.lang.String MYSQL
          The MySQL database vendor name.
private static java.lang.String MYSQL_DRIVER
          The MySQL database driver class name.
private static java.lang.String MYSQL_PREFIX
          The MySQL database URL prefix.
static java.lang.String PGSQL
          The PostgreSQL database vendor name.
private static java.lang.String PGSQL_DRIVER
          The PostgreSQL database driver class name.
private static java.lang.String PGSQL_PREFIX
          The PostgreSQL database URL prefix.
protected  org.openrdf.sesame.repository.SesameRepository repository
          The Sesame repository.
 
Constructor Summary
AbstractDatabaseStoreManager()
           
 
Method Summary
protected  java.lang.String configureRepository(ApplicationContext context)
          Configure the database from the plugin property set.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DB_VENDOR

public static final java.lang.String DB_VENDOR
The database vendor key.

Since:
Version 0.1 2005-06-09
See Also:
Constant Field Values

DB_NAME

public static final java.lang.String DB_NAME
The database name key.

Since:
Version 0.1 2005-06-09
See Also:
Constant Field Values

DB_USER

public static final java.lang.String DB_USER
The database user key.

Since:
Version 0.1 2005-06-09
See Also:
Constant Field Values

DB_PASS

public static final java.lang.String DB_PASS
The database password key.

Since:
Version 0.1 2005-06-09
See Also:
Constant Field Values

PGSQL

public static final java.lang.String PGSQL
The PostgreSQL database vendor name.

Since:
Version 0.1 2005-06-09
See Also:
Constant Field Values

PGSQL_DRIVER

private static final java.lang.String PGSQL_DRIVER
The PostgreSQL database driver class name.

Since:
Version 0.1 2004-11-02
See Also:
Constant Field Values

PGSQL_PREFIX

private static final java.lang.String PGSQL_PREFIX
The PostgreSQL database URL prefix.

Since:
Version 0.1 2004-11-02
See Also:
Constant Field Values

MYSQL

public static final java.lang.String MYSQL
The MySQL database vendor name.

Since:
Version 0.1 2005-06-09
See Also:
Constant Field Values

MYSQL_DRIVER

private static final java.lang.String MYSQL_DRIVER
The MySQL database driver class name.

Since:
Version 0.1 2004-11-02
See Also:
Constant Field Values

MYSQL_PREFIX

private static final java.lang.String MYSQL_PREFIX
The MySQL database URL prefix.

Since:
Version 0.1 2004-11-02
See Also:
Constant Field Values

repository

protected org.openrdf.sesame.repository.SesameRepository repository
The Sesame repository.

Since:
Version 0.1 2005-06-09
Constructor Detail

AbstractDatabaseStoreManager

public AbstractDatabaseStoreManager()
Method Detail

configureRepository

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

Parameters:
context - The application context for the store.
Returns:
A status message giving the path of the output directory.
Since:
Version 0.1 2005-06-09