public class JNDIConfig extends SQLConfig
Constructor and Description |
---|
JNDIConfig(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, isResultSetFieldsCaseSensitive
getConfigId, getDataService, getProperties, getProperty, getType, isODataEnabled, toString
public JNDIConfig(DataService dataService, String configId, Map<String,String> properties, boolean odataEnable) throws DataServiceFault
DataServiceFault
public DataSource getDataSource() throws DataServiceFault
getDataSource
in class SQLConfig
DataServiceFault
public boolean isStatsAvailable()
isStatsAvailable
in class SQLConfig
public int getActiveConnectionCount()
getActiveConnectionCount
in class SQLConfig
public int getIdleConnectionCount()
getIdleConnectionCount
in class SQLConfig
public ODataDataHandler createODataHandler() throws ODataServiceFault
createODataHandler
in class Config
ODataServiceFault
Copyright © 2019 WSO2. All rights reserved.