|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.datatools.sqltools.core.SQLToolsFacade
This should be the central place to query about contributed
SQLDevToolsConfiguration
s. Unlike
SQLDevToolsConfigRegistry
, the default
SQLDevToolsConfiguration
will be used if no registered
SQLDevToolsConfiguration
.
Method Summary | |
static SQLDevToolsConfiguration |
getConfiguration(DatabaseIdentifier databaseIdentifier,
DatabaseVendorDefinitionId vendorId)
Gets the SQLDevToolsConfiguration object. |
static SQLDevToolsConfiguration |
getConfigurationByDBDefName(java.lang.String dbDefName)
Gets the SQLDevToolsConfiguration object by the database definition name. |
static SQLDevToolsConfiguration |
getConfigurationByProfileName(java.lang.String profileName)
Gets the SQLDevToolsConfiguration object by the connection profile name. |
static SQLDevToolsConfiguration |
getConfigurationByVendorIdentifier(DatabaseVendorDefinitionId vendorId)
Gets the SQLDevToolsConfiguration object by the DatabaseVendorDefinitionId object |
static java.util.Collection |
getConfigurations()
Gets all the contributed database factories |
static SQLToolsFacade |
getInstance()
Singleton |
static java.util.Collection |
getSupportedDBDefinitionNames()
Returns the database definition names which has associated SQLDevToolsConfiguration s. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static SQLToolsFacade getInstance()
public static java.util.Collection getConfigurations()
public static java.util.Collection getSupportedDBDefinitionNames()
SQLDevToolsConfiguration
s.
public static SQLDevToolsConfiguration getConfigurationByDBDefName(java.lang.String dbDefName)
SQLDevToolsConfiguration
object by the database definition name.
dbDefName
- database definition name, which is product name appended by "_" and version.
SQLDevToolsConfiguration
objectpublic static SQLDevToolsConfiguration getConfigurationByVendorIdentifier(DatabaseVendorDefinitionId vendorId)
SQLDevToolsConfiguration
object by the DatabaseVendorDefinitionId
object
SQLDevToolsConfiguration
objectpublic static SQLDevToolsConfiguration getConfigurationByProfileName(java.lang.String profileName)
SQLDevToolsConfiguration
object by the connection profile name. Since different versions of a database
may use the same connection profile provider id, we'll compare the real version of the server with the version
string declared for the SQLDevToolsConfiguration
and finds the most suitable one.
profileName
- connection profile name
SQLDevToolsConfiguration
objectpublic static SQLDevToolsConfiguration getConfiguration(DatabaseIdentifier databaseIdentifier, DatabaseVendorDefinitionId vendorId)
SQLDevToolsConfiguration
object. This is a utility method for getDBFactoryByProfileName(String
profileName) and getDBFactoryByDBName(String dbName). It will try to use the first parameter then the second.
databaseIdentifier
- DatabaseIdentifier
which contains connection profile name, can be null
SQLDevToolsConfiguration
object
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |