|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.datatools.sqltools.core.SQLDevToolsConfiguration
This class bundles the configuration space for a particular database. Instances of
this class can be accessed through the SQLToolsFacade
class.
Each instance of this class is associated with a DatabaseVendorDefinitionId
for which it
should provide a particular configuration service such as a connection service. Based on its specific knowledge about the returned object, the
configuration might share such objects or compute them according to some
rules.
Clients should subclass and override just those methods which must be specific to their needs.
DatabaseVendorDefinitionId
Method Summary | |
java.lang.Object |
getAdapter(java.lang.Class adapter)
|
ConnectionService |
getConnectionService()
Returns the connection service associated with this database definition |
IDatabaseSetting |
getDatabaseSetting(DatabaseIdentifier databaseIdentifier)
Return an IDatabaseSetting object which can be used to query database properties such as "case sensitive". |
DatabaseVendorDefinitionId |
getDatabaseVendorDefinitionId()
Returns the associated DatabaseVendorDefinitionId object. |
DBHelper |
getDBHelper()
Return a database-specific utility class. |
static SQLDevToolsConfiguration |
getDefaultInstance()
|
ExecutionService |
getExecutionService()
Returns the SQL execution service associated with this database definition |
PlanService |
getPlanService()
Returns the query execution plan service associated with this database definition |
SQLDataService |
getSQLDataService()
Returns the SQL data service associated with this database definition |
SQLEditorService |
getSQLEditorService()
Returns the SQL Editor service associated with this database definition |
SQLService |
getSQLService()
Returns the SQL service associated with this database definition |
void |
setDatabaseVendorDefinitionId(DatabaseVendorDefinitionId dbdefinitionId)
Associcates this factory with a particular DatabaseVendorDefinitionId . |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static SQLDevToolsConfiguration getDefaultInstance()
public DatabaseVendorDefinitionId getDatabaseVendorDefinitionId()
DatabaseVendorDefinitionId
object.
A SQLDevToolsConfiguration
is attached to a certain
DatabaseVendorDefinitionId
.
DatabaseVendorDefinitionId
specifies the database specific
capabilities, while a SQLDevToolsConfiguration
encapsulates database specific algorithms.
DatabaseDefinition
object.public void setDatabaseVendorDefinitionId(DatabaseVendorDefinitionId dbdefinitionId)
DatabaseVendorDefinitionId
. This method should only be
called once by the SQLDevToolsConfigRegistry
.
public ConnectionService getConnectionService()
public SQLService getSQLService()
public PlanService getPlanService()
public SQLEditorService getSQLEditorService()
public SQLDataService getSQLDataService()
public ExecutionService getExecutionService()
public IDatabaseSetting getDatabaseSetting(DatabaseIdentifier databaseIdentifier)
databaseIdentifier
- uniquely identifies a databasepublic DBHelper getDBHelper()
public java.lang.Object getAdapter(java.lang.Class adapter)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |