/** * Renames a {@link TileLayer} via the {@link TileLayerDispatcher}, and logs the change. Only * affects the GeoWebCache configuration. * * @param oldTileLayerName The old layer name. * @param newTileLayerName The new layer name. */ public void rename(String oldTileLayerName, String newTileLayerName) { checkNotNull(oldTileLayerName); checkNotNull(newTileLayerName); log.info("Renaming GeoSeverTileLayer " + oldTileLayerName + " to " + newTileLayerName); tld.rename(oldTileLayerName, newTileLayerName); }