public class TabularDataBasedConfig extends SQLConfig
| Modifier and Type | Class and Description |
|---|---|
static class |
TabularDataBasedConfig.CustomSQLDataSource
Custom SQL data source implementation.
|
| Constructor and Description |
|---|
TabularDataBasedConfig(DataService dataService,
String configId,
Map<String,String> properties,
boolean odataEnable) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
ODataDataHandler |
createODataHandler() |
int |
getActiveConnectionCount() |
DataSource |
getDataSource() |
int |
getIdleConnectionCount() |
boolean |
isStatsAvailable() |
createConnection, createConnection, getAutoCommit, getPrimaryDynAuth, getSecondaryDynAuth, getValidationQuery, hasJDBCBatchUpdateSupport, initSQLDataSource, isActive, isResultSetFieldsCaseSensitivegetConfigId, getDataService, getProperties, getProperty, getType, isODataEnabled, toStringpublic TabularDataBasedConfig(DataService dataService, String configId, Map<String,String> properties, boolean odataEnable) throws DataServiceFault
DataServiceFaultpublic DataSource getDataSource() throws DataServiceFault
getDataSource in class SQLConfigDataServiceFaultpublic boolean isStatsAvailable()
throws DataServiceFault
isStatsAvailable in class SQLConfigDataServiceFaultpublic int getActiveConnectionCount()
throws DataServiceFault
getActiveConnectionCount in class SQLConfigDataServiceFaultpublic int getIdleConnectionCount()
throws DataServiceFault
getIdleConnectionCount in class SQLConfigDataServiceFaultpublic ODataDataHandler createODataHandler() throws ODataServiceFault
createODataHandler in class ConfigODataServiceFaultCopyright © 2017 WSO2. All rights reserved.