public abstract static class DatabaseFactory.DatabaseCreator
extends java.lang.Object
| Constructor and Description | 
|---|
DatabaseCreator()  | 
| Modifier and Type | Method and Description | 
|---|---|
protected abstract Database | 
createDatabaseImpl(java.lang.String connStore,
                  java.lang.String name,
                  java.sql.Connection conn)  | 
protected abstract DatabaseDescriptor | 
getDatabaseDescriptorImpl(java.lang.Class providerClass)
Gets a descriptor for the given database implementation class. 
 | 
protected DatabaseDescriptor | 
getDatabaseDescriptorImpl(Database db)
Called when a Database needs its own descriptor. 
 | 
protected DatabaseDescriptor | 
getDatabaseDescriptorImpl(java.lang.String type,
                         int ver)
Called from the DatabaseRegistry when the descriptor for a given
 type/version is requested. 
 | 
protected abstract Database createDatabaseImpl(java.lang.String connStore, java.lang.String name, java.sql.Connection conn) throws DBException
DBExceptionprotected abstract DatabaseDescriptor getDatabaseDescriptorImpl(java.lang.Class providerClass)
providerClass - the class of provider/databaseprotected DatabaseDescriptor getDatabaseDescriptorImpl(Database db)
Class of the database and calls
 getDatabaseDescriptorImpl(Class). If type/version were
 supplied on construction of the database an implementation of this
 method can call {Database#getDatabaseType()} and
 {Database#getDatabaseVersion()} to determine the appropriate
 descriptor.db - the database instance that we need a descriptor forprotected DatabaseDescriptor getDatabaseDescriptorImpl(java.lang.String type, int ver)
type - the database typever - the database version