|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.biojava.directory.Registry
public class Registry
Registry
is a factory which gets implementations of
the BioJava SequenceDBLite
interface. This is the
point of entry for OBDA access.
Constructor Summary | |
---|---|
Registry(RegistryConfiguration regConfig)
Creates a new OBDA Registry with the specified
configuration. |
Method Summary | |
---|---|
SequenceDBLite |
getDatabase(java.lang.String dbName)
getDatabase retrieves a database instance known by
a name String . |
RegistryConfiguration |
getRegistryConfiguration()
getRegistryConfiguration returns the configuration
of the registry. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Registry(RegistryConfiguration regConfig)
Registry
with the specified
configuration.
regConfig
- a RegistryConfiguration
.Method Detail |
---|
public SequenceDBLite getDatabase(java.lang.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
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |