|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.1.0) E17493-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.javatools.db.DatabaseFactory.ConnectionCreator
public abstract static class DatabaseFactory.ConnectionCreator
A connection creator should be registered for each connection store that exists. The connection store should be able to create new Connections given the name of a connection.
Constructor Summary | |
---|---|
DatabaseFactory.ConnectionCreator()
|
Method Summary | |
---|---|
protected void |
cacheDatabase(java.lang.String connName,
Database db)
|
protected abstract java.sql.Connection |
createConnectionImpl(java.lang.String connName)
Creates a Connection from a registered connection store if a connection of given name exists. |
Database |
findDatabase(java.lang.String connName)
|
protected java.lang.String |
getDisplayableStoreName()
|
protected abstract java.lang.String |
getStoreName()
|
protected boolean |
isActive()
|
java.util.Collection<java.lang.String> |
listDatabases()
Lists the databases that exist in the cache, not the connections available in the underlying connection store. |
boolean |
renameDatabase(java.lang.String oldName,
java.lang.String newName)
|
Database |
uncacheDatabase(java.lang.String connName)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DatabaseFactory.ConnectionCreator()
Method Detail |
---|
protected abstract java.sql.Connection createConnectionImpl(java.lang.String connName) throws DBException
DBException
protected boolean isActive()
protected abstract java.lang.String getStoreName()
protected java.lang.String getDisplayableStoreName()
public java.util.Collection<java.lang.String> listDatabases()
public Database findDatabase(java.lang.String connName)
public Database uncacheDatabase(java.lang.String connName)
protected void cacheDatabase(java.lang.String connName, Database db)
public boolean renameDatabase(java.lang.String oldName, java.lang.String newName)
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.1.0) E17493-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |