All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.geoserver.config.ServiceLoader Maven / Gradle / Ivy

The newest version!
/* 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;

/**
 * Extension point for loading and saving the configuration of a service.
 * 

* Instances of this class are registered in a spring context: *

 * <bean id="org.geoserver.wfs.WFSLoader"/>
 * 
*

* @author Justin Deoliveira, The Open Planning Project * */ public interface ServiceLoader { /** * The id of the service. *

* Examples: "wfs","wms","wcs",etc... *

*/ String getServiceId(); /** * Loads the service. * * @param gs The GeoServer configuartion. * * @throws Exception Any errors that occur while loading the service. */ ServiceInfo load( GeoServer gs ) throws Exception; /** * Saves the service. * * @param service The serfvice. * @param gs The GeoServer configuration. * * @throws Exception Any errors that occur while saving the service. */ void save( ServiceInfo service, GeoServer gs ) throws Exception; }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy