Package org.vfny.geoserver.control

Examples of org.vfny.geoserver.control.IPreferenceStore


     * @param args
     */
    public static void main(String[] args) {
        ApplicationContext context = new FileSystemXmlApplicationContext(
                "src/test/java/spring.xml");
        IPreferenceStore controller = (IPreferenceStore) context.getBean(
                "preferenceService");
        System.out.println("Before setDefault: " + controller.getString("test"));
        controller.setDefault("test", "defaultValue");
        System.out.println("After setDefault: " + controller.getString("test"));
        controller.set("test", "setValue");
        System.out.println("After set: " + controller.getString("test"));
    }
View Full Code Here

TOP

Related Classes of org.vfny.geoserver.control.IPreferenceStore

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.