SMILA (incubation) API documentation

org.eclipse.smila.ontology
Interface SesameOntologyManager

All Known Implementing Classes:
SesameOntologyManagerImpl

public interface SesameOntologyManager

Interface of Sesame based ontology manager.

Author:
jschumacher

Field Summary
static java.lang.String BUNDLE_ID
          name of containing bundle.
 
Method Summary
 RepositoryConnection getConnection(java.lang.String name)
          create a new connection to the named repository.
 RepositoryConnection getDefaultConnection()
          create a new connection to the default repository.
 java.util.List<java.lang.String> getRepositoryNames()
           
 

Field Detail

BUNDLE_ID

static final java.lang.String BUNDLE_ID
name of containing bundle. used for accessing configs and workspace.

See Also:
Constant Field Values
Method Detail

getDefaultConnection

RepositoryConnection getDefaultConnection()
                                          throws RepositoryException
create a new connection to the default repository.

Returns:
connection to default repository.
Throws:
RepositoryException - error creating connection

getConnection

RepositoryConnection getConnection(java.lang.String name)
                                   throws RepositoryException
create a new connection to the named repository.

Parameters:
name - repository name.
Returns:
connection to named repository.
Throws:
RepositoryException - invalid name or error creating connection

getRepositoryNames

java.util.List<java.lang.String> getRepositoryNames()
Returns:
names of configured repositories

SMILA (incubation) API documentation