public class SesameOntologyManagerImpl extends java.lang.Object implements SesameOntologyManager
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CONFIG_NAME
name of service config file.
|
BUNDLE_ID| Constructor and Description |
|---|
SesameOntologyManagerImpl()
default constructor with tracing.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
activate(ComponentContext context) |
protected void |
deactivate(ComponentContext context)
OSGi Declarative Services service deactivation method.
|
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() |
public static final java.lang.String CONFIG_NAME
public SesameOntologyManagerImpl()
public RepositoryConnection getConnection(java.lang.String name)
throws RepositoryException
getConnection in interface SesameOntologyManagername - repository name.RepositoryExceptionSesameOntologyManager.getConnection(java.lang.String)public RepositoryConnection getDefaultConnection()
throws RepositoryException
getDefaultConnection in interface SesameOntologyManagerRepositoryExceptionSesameOntologyManager.getDefaultConnection()public java.util.List<java.lang.String> getRepositoryNames()
getRepositoryNames in interface SesameOntologyManagerSesameOntologyManager.getRepositoryNames()protected void activate(ComponentContext context)
protected void deactivate(ComponentContext context)
context - OSGi service component context.