/* Copyright (c) 2001 - 2008 TOPP - www.openplans.org. All rights reserved. * This code is licensed under the GPL 2.0 license, available at the root * application directory. */ package org.geoserver.config; import java.util.List; /** * * @author Justin Deoliveira, The Open Planning Project */ public interface ConfigurationListener { /** * Handles a change to the global configuration. * * @param global The global config object. * @param propertyNames The names of the properties that were changed. * @param oldValue The old values for the properties that were changed. * @param newValue The new values for the properties that were changed. */ void handleGlobalChange( GeoServerInfo global, List<String> propertyNames, List<Object> oldValues, List<Object> newValues ); /** * Handles the event fired post change to global configuration. * * @param global The global config object. */ void handlePostGlobalChange( GeoServerInfo global ); /** * Handles a change to the logging configuration. * * @param logging The logging config object. * @param propertyNames The names of the properties that were changed. * @param oldValue The old values for the properties that were changed. * @param newValue The new values for the properties that were changed. */ void handleLoggingChange( LoggingInfo logging, List<String> propertyNames, List<Object> oldValues, List<Object> newValues ); /** * Handles the event fired post change to logging configuration. */ void handlePostLoggingChange( LoggingInfo logging ); /** * Handles a change to a service configuration. * * @param service The service config object. * @param propertyNames The names of the properties that were changed. * @param oldValue The old values for the properties that were changed. * @param newValue The new values for the properties that were changed. */ void handleServiceChange( ServiceInfo service, List<String> propertyNames, List<Object> oldValues, List<Object> newValues ); /** * Handles the event fired post change to service configuration. * * @param service The service config object. */ void handlePostServiceChange( ServiceInfo service ); /** * Handles the event fired when a service configuration is removed. * * @param service The service config object. */ void handleServiceRemove( ServiceInfo service ); /** * A callback notifying when GeoServer configuration has been reloaded. * <p> * This method will be removed in recent version as the idea of a "reload" will not * exist. * </p> * @deprecated. */ void reloaded(); }