|
Ensembl Model v1.09 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuk.ac.roslin.ensembl.config.RegistryConfiguration
public class RegistryConfiguration
Constructor Summary | |
---|---|
RegistryConfiguration()
Constructor for a non-configured RegistryConfiguration object. |
|
RegistryConfiguration(DBConnection.DataSource type)
Constructs a RegistryConfiguration object after calling setType, which will set the DBConnection if DataSource is of a known valid type. |
Method Summary | |
---|---|
DBConnection |
getDb()
Returns the DBCOnnection object set on this RegistryConfigurationobject, or throws an ConfigurationException if there is no DBConnection set. |
SchemaVersion |
getSchema()
Returns the SchemaVersionobject set on this RegistryConfiguration object. |
DBConnection.DataSource |
getType()
Returns the current DataSource type of this RegistryConfiguration object. |
void |
setDBByFile(File dbProperties)
Sets DBConnection on this RegistryConfiguration object from a given File of Properties. |
void |
setDBProperties(Properties dbProperties)
Sets DBConnection on this RegistryConfiguration object from a given set of Properties. |
void |
setSchemaByFile(File schemaMappings)
Sets the SchemaVersion object on this RegistryConfiguration object using a File with Properties values. |
void |
setSchemaProperties(Properties schemaProperties)
Sets the SchemaVersion object on this RegistryConfiguration object using the given Properties. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RegistryConfiguration()
public RegistryConfiguration(DBConnection.DataSource type) throws ConfigurationException
type
- DataSource
ConfigurationException
Method Detail |
---|
public void setDBProperties(Properties dbProperties) throws ConfigurationException
dbProperties
- Properties
ConfigurationException
public void setSchemaProperties(Properties schemaProperties) throws ConfigurationException
schemaProperties
- Properties
ConfigurationException
public void setDBByFile(File dbProperties) throws ConfigurationException
dbProperties
- File
ConfigurationException
public void setSchemaByFile(File schemaMappings) throws ConfigurationException
schemaMappings
- File
ConfigurationException
public DBConnection getDb() throws ConfigurationException
ConfigurationException
public SchemaVersion getSchema() throws ConfigurationException
ConfigurationException
public DBConnection.DataSource getType()
|
Ensembl Model v1.09 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |