for (DataSourceObserver observer : observers)
{
LOG.debug("Result data source: " + observer.getDataSourceResource().getClass().getName());
if(observer.getDataSourceResource() instanceof JerseyDataSource)
{
JerseyDataSource ds = (JerseyDataSource) observer.getDataSourceResource();
String address = ((JerseyResource) ds.getResource()).getURL();
LOG.debug("Result address = " + address);
map.put(observer.getName(), address);
}
}
return map;