/** Method to call when set of URLs returned from the {@link #layers()} * method changed and there is a need to refresh it. Refresh is very likely * a time consuming task - consider invoking it on a background thread and * don't hold any locks while calling the method */ protected final void refresh() { Repository.getDefault().refreshAdditionalLayers(); } }