Package org.wso2.carbon.ndatasource.ui
Class NDataSourceAdminServiceClient
- java.lang.Object
-
- org.wso2.carbon.ndatasource.ui.NDataSourceAdminServiceClient
-
public class NDataSourceAdminServiceClient extends Object
-
-
Constructor Summary
Constructors Constructor Description NDataSourceAdminServiceClient(String cookie, String backendServerURL, org.apache.axis2.context.ConfigurationContext configCtx)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addDataSource(org.wso2.carbon.ndatasource.ui.stub.core.services.xsd.WSDataSourceMetaInfo dataSourceMetaInfo)
void
deleteDataSource(String dsName)
org.wso2.carbon.ndatasource.ui.stub.core.services.xsd.WSDataSourceInfo[]
getAllDataSources()
org.wso2.carbon.ndatasource.ui.stub.core.services.xsd.WSDataSourceInfo[]
getAllDataSourcesForType(String dsType)
org.wso2.carbon.ndatasource.ui.stub.core.services.xsd.WSDataSourceInfo
getDataSource(String dsName)
String[]
getDataSourceTypes()
static NDataSourceAdminServiceClient
getInstance(javax.servlet.ServletConfig config, javax.servlet.http.HttpSession session)
boolean
reloadAllDataSources()
boolean
reloadDataSource(String dsName)
boolean
testDataSourceConnection(org.wso2.carbon.ndatasource.ui.stub.core.services.xsd.WSDataSourceMetaInfo dataSourceMetaInfo)
-
-
-
Method Detail
-
getInstance
public static NDataSourceAdminServiceClient getInstance(javax.servlet.ServletConfig config, javax.servlet.http.HttpSession session) throws org.apache.axis2.AxisFault
- Throws:
org.apache.axis2.AxisFault
-
addDataSource
public void addDataSource(org.wso2.carbon.ndatasource.ui.stub.core.services.xsd.WSDataSourceMetaInfo dataSourceMetaInfo) throws RemoteException, org.wso2.carbon.ndatasource.common.DataSourceException
- Throws:
RemoteException
org.wso2.carbon.ndatasource.common.DataSourceException
-
testDataSourceConnection
public boolean testDataSourceConnection(org.wso2.carbon.ndatasource.ui.stub.core.services.xsd.WSDataSourceMetaInfo dataSourceMetaInfo) throws RemoteException, org.wso2.carbon.ndatasource.common.DataSourceException
- Throws:
RemoteException
org.wso2.carbon.ndatasource.common.DataSourceException
-
deleteDataSource
public void deleteDataSource(String dsName) throws RemoteException, org.wso2.carbon.ndatasource.common.DataSourceException
- Throws:
RemoteException
org.wso2.carbon.ndatasource.common.DataSourceException
-
getAllDataSources
public org.wso2.carbon.ndatasource.ui.stub.core.services.xsd.WSDataSourceInfo[] getAllDataSources() throws RemoteException, org.wso2.carbon.ndatasource.common.DataSourceException
- Throws:
RemoteException
org.wso2.carbon.ndatasource.common.DataSourceException
-
getDataSource
public org.wso2.carbon.ndatasource.ui.stub.core.services.xsd.WSDataSourceInfo getDataSource(String dsName) throws RemoteException, org.wso2.carbon.ndatasource.common.DataSourceException
- Throws:
RemoteException
org.wso2.carbon.ndatasource.common.DataSourceException
-
getAllDataSourcesForType
public org.wso2.carbon.ndatasource.ui.stub.core.services.xsd.WSDataSourceInfo[] getAllDataSourcesForType(String dsType) throws RemoteException, org.wso2.carbon.ndatasource.common.DataSourceException
- Throws:
RemoteException
org.wso2.carbon.ndatasource.common.DataSourceException
-
getDataSourceTypes
public String[] getDataSourceTypes() throws RemoteException, org.wso2.carbon.ndatasource.common.DataSourceException
- Throws:
RemoteException
org.wso2.carbon.ndatasource.common.DataSourceException
-
reloadAllDataSources
public boolean reloadAllDataSources() throws RemoteException, org.wso2.carbon.ndatasource.common.DataSourceException
- Throws:
RemoteException
org.wso2.carbon.ndatasource.common.DataSourceException
-
reloadDataSource
public boolean reloadDataSource(String dsName) throws RemoteException, org.wso2.carbon.ndatasource.common.DataSourceException
- Throws:
RemoteException
org.wso2.carbon.ndatasource.common.DataSourceException
-
-