public class NDataSourceHelper extends Object
| Constructor and Description |
|---|
NDataSourceHelper() |
| Modifier and Type | Method and Description |
|---|---|
static org.wso2.carbon.ndatasource.ui.stub.core.services.xsd.WSDataSourceMetaInfo |
createWSDataSourceMetaInfo(javax.servlet.http.HttpServletRequest request,
NDataSourceAdminServiceClient client) |
static String |
elementToString(Element element) |
static Map<String,String> |
getAllDataSources(org.wso2.carbon.ndatasource.ui.stub.core.services.xsd.WSDataSourceInfo[] allDataSourcesInfo) |
static String |
getRDBMSEngine(String jdbcUrl)
Returns the RDBMS engine name by analyzing the JDBC URL.
|
static String |
prettifyXML(String xmlContent)
Prettify a given XML string
|
static Element |
stringToElement(String xml) |
static DSXMLConfiguration |
unMarshal(String datasourceType,
String configuration) |
public static org.wso2.carbon.ndatasource.ui.stub.core.services.xsd.WSDataSourceMetaInfo createWSDataSourceMetaInfo(javax.servlet.http.HttpServletRequest request,
NDataSourceAdminServiceClient client)
throws RemoteException,
org.wso2.carbon.ndatasource.common.DataSourceException,
org.wso2.carbon.ndatasource.ui.stub.NDataSourceAdminDataSourceException
RemoteExceptionorg.wso2.carbon.ndatasource.common.DataSourceExceptionorg.wso2.carbon.ndatasource.ui.stub.NDataSourceAdminDataSourceExceptionpublic static Map<String,String> getAllDataSources(org.wso2.carbon.ndatasource.ui.stub.core.services.xsd.WSDataSourceInfo[] allDataSourcesInfo)
public static DSXMLConfiguration unMarshal(String datasourceType, String configuration) throws org.wso2.carbon.ndatasource.ui.stub.NDataSourceAdminDataSourceException
org.wso2.carbon.ndatasource.ui.stub.NDataSourceAdminDataSourceExceptionCopyright © 2019 WSO2. All rights reserved.