Package org.opengeo

Examples of org.opengeo.GeoServerInfo


        JSONObj obj = new JSONObj();
        obj.put("name", options.name());

        JSONObj meta = obj.putObject("metadata");
        try {
            GeoServerInfo info = new GeoServerInfo(catalog.getResourceLoader());

            GeoServerInfo.BuildInfo suiteInfo = info.suite();
            meta.putObject("suite").put("version", suiteInfo.version()).put("revision", suiteInfo.revision());

            GeoServerInfo.BuildInfo gsInfo = info.geoserver();
            meta.putObject("geoserver").put("version", suiteInfo.version()).put("revision", suiteInfo.revision());

        } catch (Exception e) {
            throw new IOException(e);
        }
View Full Code Here

TOP

Related Classes of org.opengeo.GeoServerInfo

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.