コード例 #1
0
  public List<List<String>> getData(String type) {
    List<IDataSource> list = dataSourceService.getDataSources();

    DataObject analyzedData = new DataObject(type, "");
    analyzedData.addDataSources(list);
    return generateData(analyzedData);
  }
コード例 #2
0
 protected void setDataSourceService(IDataSourceService dataSourceService) {
   dataSource = new DataSource1();
   dataSourceService.addDataSource(dataSource);
 }
コード例 #3
0
 protected void unsetDataSourceService(IDataSourceService dataSourceService) {
   dataSourceService.removeDataSource(dataSource);
   dataSource = null;
 }