This page last changed on May 08, 2007 by jdeolive.

Global
Imaging
Services
GeoServer
Examples

Consider the following class diagram. In the following sections the diagram will be dissected and the individual components explained in detail.

Global

Consider the following part of the class diagram focused around GeoServerInfo.

GeoServerInfo represents the global configuration of GeoServer itself and captures all the configuration parameters which are common to all GeoServer services. It contains an association to ContactInfo which captures all the information about who is publishing the GeoServer instance. It also contains an association to ImagingInfo which captures all the information about how images and individual image formats are handled in GeoServer.

Imaging

Consider the following part of the class diagram focused around ImagingInfo.

ImageingInfo captures all information about how GeoServer handles images. This like interpolation and anti aliasing. ImagingInfo contains an association to a number of ImageFormatInfo which contains information specific to a particular image format. For example there would be 1 ImageFormatInfo for each of the image/png,image/jpeg,image/svg, etc... formats.

Services

Consider the following part of the class diagram focused around ServiceInfo.

ServiceInfo captures configuration specific to a particular GeoServer service. It contains an association to GeoServerInfo, the global server configuration. It also has an association to a number of MetadataLinkInfo which are links to metadata about the service.

As an example, consider the three services GeoServer ships with today: WFS, WMS, and WCS. Realizing with this model would result in three instances of ServiceInfo.

GeoServer

Consider the following part of the class diagram focused around GeoServer.

The GeoServer interface is the top level data access object which provides access to all configuration. It is used to lookup, add, remove, and modify global and service configuration. The GeoServerFactory is used to create new configuration objects.

Examples

Getting the Global Configuration

GeoServer geoServer = ...;

GeoServerInfo global = geoServer.getConfiguration();
...

Getting a Service Configuration

GeoServer geoServer = ...;

ServiceInfo service = geoServer.getServiceByName( "wms" );
...

org.geoserver.config.png (image/png)
services.png (image/png)
imaging.png (image/png)
global.png (image/png)
geoserver.png (image/png)
Document generated by Confluence on May 14, 2014 23:00