Class RDBMSDataSourceReader

  • All Implemented Interfaces:
    org.wso2.carbon.ndatasource.common.spi.DataSourceReader

    public class RDBMSDataSourceReader
    extends Object
    implements org.wso2.carbon.ndatasource.common.spi.DataSourceReader
    This class represents the RDBMS based data source reader implementation.
    • Constructor Detail

      • RDBMSDataSourceReader

        public RDBMSDataSourceReader()
    • Method Detail

      • getType

        public String getType()
        Specified by:
        getType in interface org.wso2.carbon.ndatasource.common.spi.DataSourceReader
      • loadConfig

        public static RDBMSConfiguration loadConfig​(String xmlConfiguration)
                                             throws org.wso2.carbon.ndatasource.common.DataSourceException
        Throws:
        org.wso2.carbon.ndatasource.common.DataSourceException
      • createDataSource

        public Object createDataSource​(String xmlConfiguration,
                                       boolean isDataSourceFactoryReference)
                                throws org.wso2.carbon.ndatasource.common.DataSourceException
        Specified by:
        createDataSource in interface org.wso2.carbon.ndatasource.common.spi.DataSourceReader
        Throws:
        org.wso2.carbon.ndatasource.common.DataSourceException
      • testDataSourceConnection

        public boolean testDataSourceConnection​(String xmlConfiguration)
                                         throws org.wso2.carbon.ndatasource.common.DataSourceException
        Specified by:
        testDataSourceConnection in interface org.wso2.carbon.ndatasource.common.spi.DataSourceReader
        Throws:
        org.wso2.carbon.ndatasource.common.DataSourceException