/* (c) 2014 Open Source Geospatial Foundation - all rights reserved * (c) 2001 - 2013 OpenPlans * This code is licensed under the GPL 2.0 license, available at the root * application directory. */ package org.geoserver.config.impl; import org.geoserver.config.GeoServer; /** * An extension point for classes that need to participate in the {@link GeoServer} lifecycle. * Any subsystem holding configuration and data/styling caches is supposed to participate in * this lifecycle * * @author Andrea Aime - OpenGeo * */ public interface GeoServerLifecycleHandler { /** * Called as part of {@link GeoServer#reset()} execution */ void onReset(); /** * Called as part of {@link GeoServer#dispose()} */ void onDispose(); /** * Called as {@link GeoServer#reload()} begins its work. A subsequent call to * {@link #onReload()} is guaranteed */ void beforeReload(); /** * Called when {@link GeoServer#reload()} is completed */ void onReload(); }