Package org.geoserver.platform

Examples of org.geoserver.platform.ContextLoadedEvent


            applicationContext = new GeoServerTestApplicationContext(
                contexts.toArray(new String[contexts.size()]), servletContext);
            applicationContext.setUseLegacyGeoServerLoader(false);
            applicationContext.refresh();
            applicationContext.publishEvent(new ContextLoadedEvent(applicationContext));

            // set the parameter after a refresh because it appears a refresh
            // wipes
            // out all parameters
            servletContext.setAttribute(
View Full Code Here


           
            applicationContext = new GeoServerTestApplicationContext(getSpringContextLocations(),
                    servletContext);
            applicationContext.setUseLegacyGeoServerLoader(useLegacyDataDirectory());
            applicationContext.refresh();
            applicationContext.publishEvent(new ContextLoadedEvent(applicationContext));

            // set the parameter after a refresh because it appears a refresh
            // wipes
            // out all parameters
            servletContext.setAttribute(
View Full Code Here

TOP

Related Classes of org.geoserver.platform.ContextLoadedEvent

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.