| Modifier and Type | Class and Description |
|---|---|
protected static class |
SQLDatasource.SQLDatasourceParams
This class encapsulates the parameters required for the initialization of
SQLDatasource class. |
static class |
SQLDatasource.SQLDatasourceParamsBuilder
Builder class for SQLDatasourceParams class.
|
| Constructor and Description |
|---|
SQLDatasource() |
| Modifier and Type | Method and Description |
|---|---|
void |
closeConnectionPool() |
BValue |
copy(Map<BValue,BValue> refs) |
String |
getConnectorId() |
String |
getDatabaseName()
Get the database name.
|
String |
getDatabaseProductName()
Get the database product name.
|
String |
getPeerAddress()
Get the peer address of this datasource.
|
Connection |
getSQLConnection() |
BType |
getType() |
XADataSource |
getXADataSource() |
boolean |
init(SQLDatasource.SQLDatasourceParams sqlDatasourceParams) |
boolean |
isXAConnection() |
void |
stamp(BType type,
List<BVM.TypeValuePair> unresolvedValues) |
String |
stringValue() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitattemptFreeze, isFrozen, serializepublic boolean init(SQLDatasource.SQLDatasourceParams sqlDatasourceParams)
public String getPeerAddress()
public String getDatabaseName()
public String getDatabaseProductName()
public Connection getSQLConnection()
public String getConnectorId()
public boolean isXAConnection()
public XADataSource getXADataSource()
public void closeConnectionPool()
public String stringValue()
stringValue in interface BValuepublic void stamp(BType type, List<BVM.TypeValuePair> unresolvedValues)
Copyright © 2019 WSO2. All rights reserved.