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,
String dataSourceName) |
void |
createDataSource(String dbName,
List<File> sqlFileList,
String dataSourceName) |
String |
getDatabaseName() |
String |
getDatabasePassword() |
String |
getDatabaseUser() |
int |
getDatabaseUserId() |
String |
getDriver() |
String |
getJdbcUrl() |
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 getDriver()
public DataHandler createArtifact(String dbsFilePath) throws XMLStreamException, IOException, XPathExpressionException
public void createDataSource(List<File> sqlFileList, String dataSourceName) throws Exception
ExceptionCopyright © 2015 WSO2 Inc. All rights reserved.