Class ReportDataSourceManager
- java.lang.Object
-
- org.wso2.carbon.reporting.core.datasource.ReportDataSourceManager
-
public class ReportDataSourceManager extends Object
This class used to manage data source related information.
-
-
Constructor Summary
Constructors Constructor Description ReportDataSourceManager()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Connection
getJDBCConnection(String dataSourceName)
-
-
-
Method Detail
-
getJDBCConnection
public Connection getJDBCConnection(String dataSourceName) throws org.wso2.carbon.reporting.api.ReportingException
- Parameters:
dataSourceName
- na,e of the data source- Returns:
- Connection
- Throws:
org.wso2.carbon.reporting.api.ReportingException
- if failed to get connection for data source
-
-