Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

nl.aidministrator.rdf.sail
Interface Sail  view Sail download Sail.java

All Known Subinterfaces:
RdfRepository, RdfSchemaRepository, RdfSchemaSource, RdfSource, StackedSail

public interface Sail

An interface for an RDF-based Storage And Inference Layer. This interface only defines methods for initializing and shutting down a repository. The extensions of this interface (RdfSource, RdfRepository, RdfSchemaSource and RdfSchemaRepository) define methods for querying and manipulating the contents of the repository. These interfaces are organized in a hierarachy like this:

              Sail
                ^
                |
            RdfSource
              ^  ^
             /    \
 RdfRepository   RdfSchemaSource
            ^     ^
             \   /
      RdfSchemaRepository
 
All methods in this interface, or in any extension of this interface, can throw SailInternalException's (a RuntimeException) to indicate an error or an unexpected situation in the RDF Sail internally (e.g. the database to connect to does not exist).

Version:
1.4, 02/07/02

Method Summary
 void initialize(java.util.Map configParams)
          Initializes the Sail using a set of configuration parameters.
 void shutDown()
          Allow the SAIL to synchronize any stale data.
 

Method Detail

initialize

public void initialize(java.util.Map configParams)
                throws SailInitializationException
Initializes the Sail using a set of configuration parameters. The relevant names and values of the parameters are determined by the implementation of the interface.


shutDown

public void shutDown()
Allow the SAIL to synchronize any stale data. The SAIL can assume that shutDown() is called before an application is stopped.