Constructor and Description |
---|
Registry(RegistryConfiguration regConfig)
Creates a new OBDA
Registry with the specified
configuration. |
Modifier and Type | Method and Description |
---|---|
SequenceDBLite |
getDatabase(String dbName)
getDatabase retrieves a database instance known by
a name String . |
RegistryConfiguration |
getRegistryConfiguration()
getRegistryConfiguration returns the configuration
of the registry. |
public Registry(RegistryConfiguration regConfig)
Registry
with the specified
configuration.regConfig
- a RegistryConfiguration
.public SequenceDBLite getDatabase(String dbName) throws RegistryException, BioException
getDatabase
retrieves a database instance known by
a name String
.dbName
- a String
database name.SequenceDBLite
.RegistryException
- if the registry does not contain a
configuration for the specified name.BioException
- if the provider fails.public RegistryConfiguration getRegistryConfiguration()
getRegistryConfiguration
returns the configuration
of the registry.RegistryConfiguration
.Copyright © 2014 BioJava. All rights reserved.