|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The org.apache.derby.iapi.db.Database interface provides "internal" methods on the database which are not available to JBMS users (org.apache.derby.database.Database, which this interface extends, provides all the externally visible methods).
At the present moment, this file defines methods which will at some point be moved to to the external database interface. There are a bunch of the unimplemninted interface that used to be in this file. They have been moved to old_Database.java. old_Database.java is checked into the codeline but is not built, it is there for reference
Method Summary | |
AuthenticationService |
getAuthenticationService()
This method returns the authentication service handle for the database. |
int |
getEngineType()
|
java.lang.Object |
getResourceAdapter()
Get a Resource Adapter - only used by XA system. |
boolean |
isActive()
Is the database active (open). |
void |
pushDbContext(ContextManager cm)
Push a DbContext onto the provided context stack. |
void |
setLocale(java.util.Locale locale)
Set the Locale that is returned by this LocaleFinder |
LanguageConnectionContext |
setupConnection(ContextManager cm,
java.lang.String user,
java.lang.String drdaID,
java.lang.String dbname)
Sets up a connection to the Database, owned by the given user. |
Methods inherited from interface org.apache.derby.database.Database |
backup, backup, backupAndEnableLogArchiveMode, backupAndEnableLogArchiveMode, checkpoint, disableLogArchiveMode, dropAllJDBCMetaDataSPSes, freeze, getId, getLocale, isReadOnly, unfreeze |
Methods inherited from interface org.apache.derby.iapi.services.i18n.LocaleFinder |
getCollator, getCurrentLocale, getDateFormat, getTimeFormat, getTimestampFormat |
Method Detail |
public LanguageConnectionContext setupConnection(ContextManager cm, java.lang.String user, java.lang.String drdaID, java.lang.String dbname) throws StandardException
user
- The UserID of the user getting the connectiondrdaID
- The drda id of the connection (from network server)dbname
- The database name
StandardException
- thrown if unable to create the connection.public void pushDbContext(ContextManager cm)
public boolean isActive()
public int getEngineType()
public AuthenticationService getAuthenticationService()
public java.lang.Object getResourceAdapter()
public void setLocale(java.util.Locale locale)
|
Built on Mon 2007-06-04 09:58:47+0400, from revision ??? | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |