code: public DataSource[] getDataSources() {
  		Entity[] entities;
  		try {
  			entities = getEntitiesByClassName(StorageConstants.DATASOURCES_ROOT, DataSource.class.getName());
  		} catch (NotFoundException e) {
  			// never happening
  			throw new RuntimeException(e);
  		}
  		DataSource[] dataSources = new DataSource[entities.length];
  		System.arraycopy(entities, 0, dataSources, 0, entities.length);
  
  		return dataSources;
  	}
docs: TODO remove