Package com.odb.core.service

Examples of com.odb.core.service.DataSourceConfiguration


    try {
      ArrayList<DataSourceInfo> dsInfoList = odbCore.getAllDataSourceByPublisher(publisherID);
      dsConfigList = new ArrayList<DataSourceConfiguration>();

      for (DataSourceInfo dsInfo : dsInfoList) {
        DataSourceConfiguration dsConfig = new DataSourceConfiguration();
        dsConfig = odbCore.getDataSourceConfigurationBy(dsInfo.getDataSourceID());
        dsConfigList.add(dsConfig);
      }
      return dsConfigList;
    } catch (SQLException e) {
View Full Code Here


  public DataSourceConfiguration getDataSourceAllDetails(String dataSourceID) {

    // HashMap<String, Serializable> dsAllDetails = new
    // java.util.HashMap<String, Serializable>();
    DataSourceConfiguration dsConfig = new DataSourceConfiguration();
    try {
      dsConfig = odbCore.getDataSourceConfigurationBy(dataSourceID);
    } catch (SQLException e) {
      log.error("Failed while getting data source details for dsID=" + dataSourceID + e);
    }
View Full Code Here

    String subscriberID = Utilities.getClientSubscriberInfo(subscriberInfo).getSubscriberID();
    try {
      ArrayList<DataSourceInfo> subDS = odbCore.getAllDataSourceBySubscriber(subscriberID);
      dsConfigList = new ArrayList<DataSourceConfiguration>(subDS.size());
      for (DataSourceInfo ds : subDS) {
        DataSourceConfiguration dsConfig = odbCore.getDataSourceConfigurationBy(ds.getDataSourceID());
        dsConfigList.add(dsConfig);
      }

    } catch (SQLException e) {
      log.error("Getting Current Subscription for the subscriber failed: subID:" + subscriberID + e);
View Full Code Here

TOP

Related Classes of com.odb.core.service.DataSourceConfiguration

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.