public class SqlDataSourceUtil extends Object
| Constructor and Description |
|---|
SqlDataSourceUtil(String sessionCookie,
String backEndUrl) |
| Modifier and Type | Method and Description |
|---|---|
DataHandler |
createArtifact(String dbsFilePath) |
void |
createDataSource(List<File> sqlFileList) |
void |
createDataSource(String dbName,
List<File> sqlFileList) |
String |
getDatabaseName() |
String |
getDatabasePassword() |
String |
getDatabaseUser() |
int |
getDatabaseUserId() |
String |
getDriver() |
String |
getJdbcUrl() |
String |
getJdbcUrlForProxy() |
protected void |
init() |
protected void init()
throws XPathExpressionException
XPathExpressionExceptionpublic String getDatabaseName()
public String getDatabaseUser()
public String getDatabasePassword()
public int getDatabaseUserId()
public String getJdbcUrl()
public String getJdbcUrlForProxy() throws XPathExpressionException
XPathExpressionExceptionpublic String getDriver()
public DataHandler createArtifact(String dbsFilePath) throws XMLStreamException, IOException, XPathExpressionException
public void createDataSource(List<File> sqlFileList) throws Exception
ExceptionCopyright © 2015 WSO2 Inc. All rights reserved.