public interface ScopeManager extends ScopeFactory, ScopeRegistry
ScopeRegistry and an ScopeFactory, the call to
ScopeRegistry#registerScope(OntologyScope) or its overloads after
ScopeFactory.createOntologyScope(String, OntologyInputSource...) is unnecessary, as the ONManager
automatically registers newly created scopes.| Modifier and Type | Field and Description |
|---|---|
static String |
CONFIG_ONTOLOGY_PATH
The key used to configure the path of the ontology network configuration.
|
static String |
CONNECTIVITY_POLICY
The key used to configure the connectivity policy.
|
static String |
ID_SCOPE_REGISTRY
The key used to configure the simple identifier of the scope registry (which should also be
concatenated with the base namespace to obtain the registry's HTTP endpoint URI).
|
| Modifier and Type | Method and Description |
|---|---|
OfflineConfiguration |
getOfflineConfiguration()
Returns the offline configuration set for this ontology network manager, if any.
|
String |
getOntologyNetworkConfigurationPath()
Implementations should be able to create a
File object from this path. |
String |
getOntologyNetworkNamespace()
Deprecated.
please use
OfflineConfiguration.getDefaultOntologyNetworkNamespace() to obtain the
namespace |
OntologySpaceFactory |
getOntologySpaceFactory() |
ScopeRegistry |
getScopeRegistry()
Deprecated.
This methods now returns the current object, which is also a
ScopeRegistry. |
void |
setOntologyNetworkNamespace(String namespace)
Deprecated.
ScopeManager should set its namespace to be the same as
OfflineConfiguration.getDefaultOntologyNetworkNamespace() whenever it changes on
the object obtained by calling getOfflineConfiguration(). |
createOntologyScopeaddScopeRegistrationListener, clearScopeRegistrationListeners, containsScope, deregisterScope, getActiveScopes, getRegisteredScopes, getScope, getScopeRegistrationListeners, isScopeActive, registerScope, registerScope, removeScopeRegistrationListener, setScopeActiveaddScopeEventListener, clearScopeEventListeners, getScopeEventListeners, removeScopeEventListenerstatic final String CONFIG_ONTOLOGY_PATH
static final String CONNECTIVITY_POLICY
static final String ID_SCOPE_REGISTRY
OfflineConfiguration getOfflineConfiguration()
OntologySpaceFactory getOntologySpaceFactory()
String getOntologyNetworkConfigurationPath()
File object from this path.String getOntologyNetworkNamespace()
OfflineConfiguration.getDefaultOntologyNetworkNamespace() to obtain the
namespaceScopeRegistry getScopeRegistry()
ScopeRegistry.void setOntologyNetworkNamespace(String namespace)
ScopeManager should set its namespace to be the same as
OfflineConfiguration.getDefaultOntologyNetworkNamespace() whenever it changes on
the object obtained by calling getOfflineConfiguration().namespace - the base namespace.Copyright © 2010-2014 The Apache Software Foundation. All Rights Reserved.