view artifacts/doc/conf/conf.xml @ 7072:4e597d435398 generator-refactoring

Read out generator class info from "class" attribute instead of tags text body.
author Sascha L. Teichmann <teichmann@intevation.de>
date Fri, 20 Sep 2013 15:29:02 +0200
parents 50342c451512
children a2abd87c0d3b
line wrap: on
line source
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE artifact-database [
    <!ENTITY artifact-db SYSTEM "artifact-db.xml">
    <!ENTITY datacage-db SYSTEM "datacage-db.xml">
    <!ENTITY backend-db  SYSTEM "backend-db.xml">
    <!ENTITY seddb-db    SYSTEM "seddb-db.xml">
    <!ENTITY rest-server SYSTEM "rest-server.xml">
    <!ENTITY floodmap    SYSTEM "floodmap.xml">
    <!ENTITY rivermap	 SYSTEM "rivermap.xml">
]>
<artifact-database>
    <export-secret>YOUR_SECRET</export-secret>
    <factories>
        <context-factory>org.dive4elements.river.artifacts.context.RiverContextFactory</context-factory>

        <collection-factory
            name="DefaultArtifactCollectionFactory"
            description="The default artifact collection factory"
            ttl="21600000"
            artifact-collection="org.dive4elements.river.collections.D4EArtifactCollection">org.dive4elements.artifactdatabase.DefaultArtifactCollectionFactory</collection-factory>

        <artifact-factories>
            <!-- All Artifactfactories which are available in this Database. -->
            <artifact-factory name="winfo" description="Factory to create an artifact to be used in WINFO"
                ttl="3600000"
                artifact="org.dive4elements.river.artifacts.WINFOArtifact">org.dive4elements.artifactdatabase.DefaultArtifactFactory</artifact-factory>
            <artifact-factory name="riveraxis" description="Factory to create an artifact to be used in WINFO"
                ttl="3600000"
                artifact="org.dive4elements.river.artifacts.RiverAxisArtifact">org.dive4elements.artifactdatabase.DefaultArtifactFactory</artifact-factory>
            <artifact-factory name="hyk" description="Factory to create an artifact to be used for hyks"
                ttl="3600000"
                artifact="org.dive4elements.river.artifacts.HYKArtifact">org.dive4elements.artifactdatabase.DefaultArtifactFactory</artifact-factory>
            <artifact-factory name="new_map" description="Factory to create an artifact to be used for new map"
                ttl="3600000"
                artifact="org.dive4elements.river.artifacts.MapArtifact">org.dive4elements.artifactdatabase.DefaultArtifactFactory</artifact-factory>
            <artifact-factory name="wmskmfactory" description="Factory to create an artifact that generates WMS facets for KMs."
                ttl="3600000"
                artifact="org.dive4elements.river.artifacts.WMSKmArtifact">org.dive4elements.artifactdatabase.DefaultArtifactFactory</artifact-factory>
            <artifact-factory name="wmsqpsfactory" description="Factory to create an artifact that generates WMS facets for CrossSectionTracks."
                ttl="3600000"
                artifact="org.dive4elements.river.artifacts.WMSQPSArtifact">org.dive4elements.artifactdatabase.DefaultArtifactFactory</artifact-factory>
            <artifact-factory name="wmshydrboundariesfactory" description="Factory to create an artifact that generates WMS facets for CrossSectionTracks."
                ttl="3600000"
                artifact="org.dive4elements.river.artifacts.WMSHydrBoundaryArtifact">org.dive4elements.artifactdatabase.DefaultArtifactFactory</artifact-factory>
            <artifact-factory name="wmshydrboundariespolyfactory" description="Factory to create an artifact that generates WMS facets for CrossSectionTracks."
                ttl="3600000"
                artifact="org.dive4elements.river.artifacts.WMSHydrBoundaryPolyArtifact">org.dive4elements.artifactdatabase.DefaultArtifactFactory</artifact-factory>
            <artifact-factory name="wmsfloodplainfactory" description="Factory to create an artifact that generates WMS facets for CrossSectionTracks."
                ttl="3600000"
                artifact="org.dive4elements.river.artifacts.WMSFloodplainArtifact">org.dive4elements.artifactdatabase.DefaultArtifactFactory</artifact-factory>
            <artifact-factory name="wmsbuildingsfactory" description="Factory to create an artifact to be used in WINFO"
                ttl="3600000"
                artifact="org.dive4elements.river.artifacts.WMSBuildingsArtifact">org.dive4elements.artifactdatabase.DefaultArtifactFactory</artifact-factory>
            <artifact-factory name="wmsfixpointsfactory" description="Factory to create an artifact to be used in WINFO"
                ttl="3600000"
                artifact="org.dive4elements.river.artifacts.WMSFixpointsArtifact">org.dive4elements.artifactdatabase.DefaultArtifactFactory</artifact-factory>
            <artifact-factory name="wmsfloodmarkfactory" description="Factory to create an artifact to be used in WINFO"
                ttl="3600000"
                artifact="org.dive4elements.river.artifacts.WMSFloodmarksArtifact">org.dive4elements.artifactdatabase.DefaultArtifactFactory</artifact-factory>
            <artifact-factory name="wmsfloodmapsfactory" description="Factory to create an artifact to be used in WINFO"
                ttl="3600000"
                artifact="org.dive4elements.river.artifacts.WMSFloodmapsArtifact">org.dive4elements.artifactdatabase.DefaultArtifactFactory</artifact-factory>
            <artifact-factory name="wmsgaugelocationfactory" description="Factory to create an artifact to be used in WINFO"
                ttl="3600000"
                artifact="org.dive4elements.river.artifacts.WMSGaugeLocationArtifact">org.dive4elements.artifactdatabase.DefaultArtifactFactory</artifact-factory>
            <artifact-factory name="wmsbackground" description="Factory to create an artifact to be used in WINFO"
                ttl="3600000"
                artifact="org.dive4elements.river.artifacts.WMSBackgroundArtifact">org.dive4elements.artifactdatabase.DefaultArtifactFactory</artifact-factory>
            <artifact-factory name="externalwmsfactory" description="Factory to create an artifact to be used in Floodmaps to display external WMS layers"
                ttl="3600000"
                artifact="org.dive4elements.river.artifacts.ExternalWMSArtifact">org.dive4elements.artifactdatabase.DefaultArtifactFactory</artifact-factory>
            <artifact-factory name="annotations" description="Factory to create an artifact to access Annotations for Points at rivers"
                ttl="3600000"
                artifact="org.dive4elements.river.artifacts.AnnotationArtifact">org.dive4elements.artifactdatabase.DefaultArtifactFactory</artifact-factory>
            <artifact-factory name="crosssections" description="Factory to create an artifact to access cross sections"
                ttl="3600000"
                artifact="org.dive4elements.river.artifacts.CrossSectionArtifact">org.dive4elements.artifactdatabase.DefaultArtifactFactory</artifact-factory>
            <artifact-factory name="waterlevel" description="Factory to create an artifact to access waterlevel data"
                ttl="3600000"
                artifact="org.dive4elements.river.artifacts.WaterlevelArtifact">org.dive4elements.artifactdatabase.DefaultArtifactFactory</artifact-factory>
            <artifact-factory name="mainvalue" description="Factory to create an artifact to access Main Values for discharge curve diagrams"
                ttl="3600000"
                artifact="org.dive4elements.river.artifacts.MainValuesArtifact">org.dive4elements.artifactdatabase.DefaultArtifactFactory</artifact-factory>
            <artifact-factory name="staticwkms" description="Factory to create an artifact to access 'other' WKms data"
                ttl="3600000"
                artifact="org.dive4elements.river.artifacts.StaticWKmsArtifact">org.dive4elements.artifactdatabase.DefaultArtifactFactory</artifact-factory>
            <artifact-factory name="area" description="Factory to create an artifact to draw (wkms) area data"
                ttl="3600000"
                artifact="org.dive4elements.river.artifacts.AreaArtifact">org.dive4elements.artifactdatabase.DefaultArtifactFactory</artifact-factory>
            <artifact-factory name="staticwqkms" description="Factory to create an artifact to access 'other' WKms data"
                ttl="3600000"
                artifact="org.dive4elements.river.artifacts.StaticWQKmsArtifact">org.dive4elements.artifactdatabase.DefaultArtifactFactory</artifact-factory>
            <artifact-factory name="wqinterpol" description="Factory to create an artifact to access 'other' WQ (at km) data"
                ttl="3600000"
                artifact="org.dive4elements.river.artifacts.WQKmsInterpolArtifact">org.dive4elements.artifactdatabase.DefaultArtifactFactory</artifact-factory>
            <artifact-factory name="new_chart" description="Factory to create an artifact to be used for new chart"
                ttl="3600000"
                artifact="org.dive4elements.river.artifacts.ChartArtifact">org.dive4elements.artifactdatabase.DefaultArtifactFactory</artifact-factory>
            <artifact-factory name="manualpoints" description="Factory to create an artifact for storing and editing points added by the user."
                ttl="3600000"
                artifact="org.dive4elements.river.artifacts.ManualPointsArtifact">org.dive4elements.artifactdatabase.DefaultArtifactFactory</artifact-factory>
            <artifact-factory name="fixanalysis" description="Factory to create an artifact to be used in fixation analysis."
                ttl="3600000"
                artifact="org.dive4elements.river.artifacts.FixationArtifact">org.dive4elements.artifactdatabase.DefaultArtifactFactory</artifact-factory>
            <artifact-factory name="gaugedischarge" description="Factory to create an artifact to host historical qs."
                ttl="3600000"
                artifact="org.dive4elements.river.artifacts.GaugeDischargeArtifact">org.dive4elements.artifactdatabase.DefaultArtifactFactory</artifact-factory>
            <artifact-factory name="qsectors" description="Factory to create an artifact to host qsectors."
                ttl="3600000"
                artifact="org.dive4elements.river.artifacts.QSectorArtifact">org.dive4elements.artifactdatabase.DefaultArtifactFactory</artifact-factory>
            <artifact-factory name="wmshwslinesfactory" description="Factory to create an artifact that generates WMS facets for HWS Lines"
                ttl="3600000"
                artifact="org.dive4elements.river.artifacts.WMSHWSLinesArtifact">org.dive4elements.artifactdatabase.DefaultArtifactFactory</artifact-factory>
            <artifact-factory name="wmshwspointsfactory" description="Factory to create an artifact that generates WMS facets for HWS Points"
                ttl="3600000"
                artifact="org.dive4elements.river.artifacts.WMSHWSPointsArtifact">org.dive4elements.artifactdatabase.DefaultArtifactFactory</artifact-factory>
            <artifact-factory name="wmsjettiesfactory" description="Factory to create an artifact to be used in WINFO"
                ttl="3600000"
                artifact="org.dive4elements.river.artifacts.WMSJettiesArtifact">org.dive4elements.artifactdatabase.DefaultArtifactFactory</artifact-factory>

            <!-- MINFO specific Artifacts -->
            <artifact-factory name="minfo" description="Factory to create an artifact to be used in module minfo."
                ttl="3600000"
                artifact="org.dive4elements.river.artifacts.MINFOArtifact">org.dive4elements.artifactdatabase.DefaultArtifactFactory</artifact-factory>
            <artifact-factory name="bedheight" description="Factory to create an artifact used in minfo datacage."
                ttl="3600000"
                artifact="org.dive4elements.river.artifacts.BedHeightsArtifact">org.dive4elements.artifactdatabase.DefaultArtifactFactory</artifact-factory>
            <artifact-factory name="staticsqrelation" description="Factory to create an artifact that generates sq relations from db."
                ttl="3600000"
                artifact="org.dive4elements.river.artifacts.SQRelationArtifact">org.dive4elements.artifactdatabase.DefaultArtifactFactory</artifact-factory>
            <artifact-factory name="morph-width" description="Factory to create an artifact used in minfo datacage."
                ttl="3600000"
                artifact="org.dive4elements.river.artifacts.StaticMorphWidthArtifact">org.dive4elements.artifactdatabase.DefaultArtifactFactory</artifact-factory>

            <artifact-factory name="gaugedischargecurve" description="Factory to create an artifact to show a discharge curve for a gauge."
                ttl="3600000"
                artifact="org.dive4elements.river.artifacts.GaugeDischargeCurveArtifact">org.dive4elements.artifactdatabase.DefaultArtifactFactory</artifact-factory>
            <artifact-factory name="flowvelocity" description="Factory to create an artifact to show measured flow velocities."
                ttl="3600000"
                artifact="org.dive4elements.river.artifacts.FlowVelocityMeasurementArtifact">org.dive4elements.artifactdatabase.DefaultArtifactFactory</artifact-factory>
        </artifact-factories>

        <user-factory name="default" description="Factory to create new users">org.dive4elements.artifactdatabase.DefaultUserFactory</user-factory>

        <service-factories>
            <service-factory
                name="server-info"
                service="org.dive4elements.river.artifacts.services.ServerInfoService"
                description="This service provides generic information and configuration of the artifact server.">org.dive4elements.artifactdatabase.DefaultServiceFactory</service-factory>
            <service-factory
                name="rivers"
                service="org.dive4elements.river.artifacts.services.RiverService"
                description="This service returns a list of provided rivers by the artifact server.">org.dive4elements.artifactdatabase.DefaultServiceFactory</service-factory>
            <service-factory
                name="distanceinfo"
                service="org.dive4elements.river.artifacts.services.DistanceInfoService"
                description="Returns a list of distances supported by a specific river.">org.dive4elements.artifactdatabase.DefaultServiceFactory</service-factory>
            <service-factory
                name="mainvalues"
                service="org.dive4elements.river.artifacts.services.MainValuesService"
                description="Returns the main values of a river's gauge based on a start and end point of the river.">org.dive4elements.artifactdatabase.DefaultServiceFactory</service-factory>
            <service-factory
                name="metadata"
                service="org.dive4elements.river.artifacts.services.MetaDataService"
                description="The service provides some introspection into the database content.">org.dive4elements.artifactdatabase.DefaultServiceFactory</service-factory>
            <service-factory
                name="mapinfo"
                service="org.dive4elements.river.artifacts.services.MapInfoService"
                description="The service provides some basic information to create a WMS for a specific river.">org.dive4elements.artifactdatabase.DefaultServiceFactory</service-factory>
            <service-factory
                name="cross-section-km"
                service="org.dive4elements.river.artifacts.services.CrossSectionKMService"
                description="The service provides the N next neighbored kms and ids of cross section lines for given cross section id, km and N.">org.dive4elements.artifactdatabase.DefaultServiceFactory</service-factory>
            <service-factory
                name="cache-invalidation"
                service="org.dive4elements.river.artifacts.services.CacheInvalidationService"
                description="The service invalidates caches.">org.dive4elements.artifactdatabase.DefaultServiceFactory</service-factory>
            <service-factory
                name="dischargeinfo"
                service="org.dive4elements.river.artifacts.services.DischargeInfoService"
                description="Returns description, start year and end year of discharges at a specific gauge.">org.dive4elements.artifactdatabase.DefaultServiceFactory</service-factory>
            <service-factory
                name="fixings-overview"
                service="org.dive4elements.river.artifacts.services.FixingsOverviewService"
                description="Returns an overview of the fixings of a given river.">org.dive4elements.artifactdatabase.DefaultServiceFactory</service-factory>
            <service-factory
                name="fixings-km-chart"
                service="org.dive4elements.river.artifacts.services.FixingsKMChartService"
                description="Returns a chart of fixings of given river and km.">org.dive4elements.artifactdatabase.DefaultServiceFactory</service-factory>
            <service-factory
                name="gaugeinfo"
                service="org.dive4elements.river.artifacts.services.GaugeInfoService"
                description="Returns an overview of the fixings of a given river.">org.dive4elements.artifactdatabase.DefaultServiceFactory</service-factory>
            <service-factory
                name="fileupload"
                service="org.dive4elements.river.artifacts.services.FileUploadService"
                description="Takes base64 coded files embedded in XML.">org.dive4elements.artifactdatabase.DefaultServiceFactory</service-factory>
            <service-factory
                name="themelisting"
                service="org.dive4elements.river.artifacts.services.ThemeListingService"
                description="Returns a list of Themes filtered by theme name.">org.dive4elements.artifactdatabase.DefaultServiceFactory</service-factory>
            <service-factory
                name="sq-km-chart"
                service="org.dive4elements.river.artifacts.services.SQKMChartService"
                description="Returns a chart of km and date of meassuring points of a given river.">org.dive4elements.artifactdatabase.DefaultServiceFactory</service-factory>
            <service-factory
                name="modules"
                service="org.dive4elements.river.artifacts.services.ModuleService"
                description="Returns a list of available modules.">org.dive4elements.artifactdatabase.DefaultServiceFactory</service-factory>
            <service-factory
                name="bed-km-chart"
                service="org.dive4elements.river.artifacts.services.BedKMChartService"
                description="Returns a chart of km and date of meassuring points of a given river.">org.dive4elements.artifactdatabase.DefaultServiceFactory</service-factory>
            <service-factory
                name="bedload-km-chart"
                service="org.dive4elements.river.artifacts.services.BedloadKMChartService"
                description="Returns a chart of km and date of meassuring points of a given river.">org.dive4elements.artifactdatabase.DefaultServiceFactory</service-factory>
            <service-factory
                name="gaugeoverviewinfo"
                service="org.dive4elements.river.artifacts.services.GaugeOverviewInfoService"
                description="Returns an overview of the fixings of a given river.">org.dive4elements.artifactdatabase.DefaultServiceFactory</service-factory>
            <service-factory
                name="dischargetablesoverview"
                service="org.dive4elements.river.artifacts.services.DischargeTablesOverview"
                description="Returns an overview of the fixings of a given river.">org.dive4elements.artifactdatabase.DefaultServiceFactory</service-factory>
            <service-factory
                name="measurementstationinfo"
                service="org.dive4elements.river.artifacts.services.MeasurementStationInfoService"
                description="Returns an overview of the measurement stations of a given river.">org.dive4elements.artifactdatabase.DefaultServiceFactory</service-factory>
            <service-factory
                name="sedimentloadinfo"
                service="org.dive4elements.river.artifacts.services.SedimentLoadInfoService"
                description="Returns sedimentloads.">org.dive4elements.artifactdatabase.DefaultServiceFactory</service-factory>
        </service-factories>

    </factories>

    <lifetime-listeners>
        <listener>org.dive4elements.river.artifacts.datacage.Datacage</listener>
        <listener>org.dive4elements.river.wsplgen.SchedulerSetup</listener>
        <listener>org.dive4elements.river.artifacts.map.RiverMapfileGeneratorStarter</listener>
    </lifetime-listeners>

    <backend-listeners>
        <listener>org.dive4elements.river.artifacts.datacage.DatacageBackendListener</listener>
    </backend-listeners>

    <callcontext-listener
        name="SessionCallContextListener"
        description="A CallContext.Listener to open and close Hibernatesessions">org.dive4elements.river.artifacts.context.SessionCallContextListener</callcontext-listener>

    <artifacts>
        <artifact name="manualpoints" xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="${artifacts.config.dir}/artifacts/manualpoints.xml" />
        <artifact name="winfo" xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="${artifacts.config.dir}/artifacts/winfo.xml" />
        <artifact name="minfo" xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="${artifacts.config.dir}/artifacts/minfo.xml" />
        <artifact name="waterlevel" xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="${artifacts.config.dir}/artifacts/waterlevel.xml" />
        <artifact name="annotation" xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="${artifacts.config.dir}/artifacts/annotation.xml" />
        <artifact name="hyk" xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="${artifacts.config.dir}/artifacts/hyk.xml" />
        <artifact name="wmsbackground" xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="${artifacts.config.dir}/artifacts/wmsbackground.xml" />
        <artifact name="new_map" xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="${artifacts.config.dir}/artifacts/map.xml" />
        <artifact name="new_chart" xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="${artifacts.config.dir}/artifacts/chart.xml" />
        <artifact name="staticwqkms" xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="${artifacts.config.dir}/artifacts/staticwqkms.xml" />
        <artifact name="fixanalysis" xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="${artifacts.config.dir}/artifacts/fixanalysis.xml" />
        <artifact name="gaugedischarge" xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="${artifacts.config.dir}/artifacts/gaugedischarge.xml" />
        <artifact name="gaugedischargecurve" xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="${artifacts.config.dir}/artifacts/gaugedischargecurve.xml" />
        <artifact name="qsector" xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="${artifacts.config.dir}/artifacts/qsector.xml" />
        <artifact name="staticsqrelation" xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="${artifacts.config.dir}/artifacts/sqrelation.xml" />
    </artifacts>

    <modules>
        <module name="winfo" selected="true"/>
        <module name="minfo"/>
        <module name="new_map"/>
        <module name="new_chart"/>
        <module name="fixanalysis"/>
    </modules>

    <hooks>
        <hook
            class="org.dive4elements.river.artifacts.CollectionMonitor"
            applies="post-feed,post-advance,post-describe"
            xmlns:xlink="http://www.w3.org/1999/xlink"
            xlink:href="${artifacts.config.dir}/output-defaults.xml">
        </hook>
    </hooks>

    <output-generators>
        <output-generator name="discharge_curve" class="org.dive4elements.river.exports.DischargeCurveGenerator"></output-generator>
        <output-generator name="discharge_curve_chartinfo" class="org.dive4elements.river.exports.DischargeCurveInfoGenerator"></output-generator>
        <output-generator name="cross_section" class="org.dive4elements.river.exports.CrossSectionGenerator"></output-generator>
        <output-generator name="cross_section_chartinfo" class="org.dive4elements.river.exports.CrossSectionInfoGenerator"></output-generator>
        <output-generator name="computed_discharge_curve" class="org.dive4elements.river.exports.ComputedDischargeCurveGenerator"></output-generator>
        <output-generator name="computed_discharge_curve_chartinfo" class="org.dive4elements.river.exports.ComputedDischargeCurveInfoGenerator"></output-generator>
        <output-generator name="longitudinal_section" class="org.dive4elements.river.exports.DiagramGenerator"><
            <axis name="W"/>
            <axis name="D"/>
            <axis name="Q"/>
            <axis name="" type="X"/>
            <title key="chart.longitudinal.section.title" default="W-Längsschnitt"/>
            <subtitle key="chart.longitudinal.section.subtitle" default="-">
                <arg expr="artifact.river"/>
                <arg expr="artifact.ld_from" type="double"/>
                <arg expr="artifact.ld_to" type="double"/>
            </subtitle>
            <processor class="org.dive4elements.river.exports.process.AnnotationProcessor" axis="none"/>
            <processor class="org.dive4elements.river.exports.process.WOutProcessor" axis="W"/>
        </output-generator>
        <output-generator name="longitudinal_section_chartinfo" class="org.dive4elements.river.exports.LongitudinalSectionInfoGenerator"></output-generator>
        <output-generator name="duration_curve" class="org.dive4elements.river.exports.DurationCurveGenerator"></output-generator>
        <output-generator name="duration_curve_chartinfo" class="org.dive4elements.river.exports.DurationCurveInfoGenerator"></output-generator>
        <output-generator name="discharge_longitudinal_section" class="org.dive4elements.river.exports.DischargeLongitudinalSectionGenerator"></output-generator>
        <output-generator name="discharge_longitudinal_section_chartinfo" class="org.dive4elements.river.exports.DischargeLongitudinalSectionInfoGenerator"></output-generator>
        <output-generator name="waterlevel_export" class="org.dive4elements.river.exports.WaterlevelExporter"></output-generator>
        <output-generator name="extreme_wq_curve" class="org.dive4elements.river.exports.extreme.ExtremeWQCurveGenerator"></output-generator>
        <output-generator name="extreme_curve_export" class="org.dive4elements.river.exports.WaterlevelExporter"></output-generator>
        <output-generator name="extreme_wq_curve_chartinfo" class="org.dive4elements.river.exports.extreme.ExtremeWQCurveInfoGenerator"></output-generator>
        <output-generator name="fix_wq_curve" class="org.dive4elements.river.exports.fixings.FixWQCurveGenerator"></output-generator>
        <output-generator name="fix_wq_curve_chartinfo" class="org.dive4elements.river.exports.fixings.FixWQCurveInfoGenerator"></output-generator>
        <output-generator name="durationcurve_export" class="org.dive4elements.river.exports.DurationCurveExporter"></output-generator>
        <output-generator name="computed_dischargecurve_export" class="org.dive4elements.river.exports.ComputedDischargeCurveExporter"></output-generator>
        <output-generator name="discharge_longitudinal_section_export" class="org.dive4elements.river.exports.DischargeLongitudinalSectionExporter"></output-generator>
        <output-generator name="w_differences" class="org.dive4elements.river.exports.WDifferencesCurveGenerator"></output-generator>
        <output-generator name="w_differences_chartinfo" class="org.dive4elements.river.exports.WDifferencesCurveInfoGenerator"></output-generator>
        <output-generator name="w_differences_export" class="org.dive4elements.river.exports.WDifferencesExporter"></output-generator>
        <output-generator name="floodmap" class="org.dive4elements.river.exports.MapGenerator"></output-generator>
        <output-generator name="map" class="org.dive4elements.river.exports.MapGenerator"></output-generator>
        <output-generator name="reference_curve" class="org.dive4elements.river.exports.ReferenceCurveGenerator"></output-generator>
        <output-generator name="reference_curve_normalized" class="org.dive4elements.river.exports.NormalizedReferenceCurveGenerator"></output-generator>
        <output-generator name="reference_curve_normalized_chartinfo" class="org.dive4elements.river.exports.NormalizedReferenceCurveInfoGenerator"></output-generator>
        <output-generator name="reference_curve_chartinfo" class="org.dive4elements.river.exports.ReferenceCurveInfoGenerator"></output-generator>
        <output-generator name="reference_curve_export" class="org.dive4elements.river.exports.ReferenceCurveExporter"></output-generator>
        <output-generator name="historical_discharge" class="org.dive4elements.river.exports.HistoricalDischargeCurveGenerator"></output-generator>
        <output-generator name="historical_discharge_chartinfo" class="org.dive4elements.river.exports.HistoricalDischargeCurveInfoGenerator"></output-generator>
        <output-generator name="historical_discharge_wq" class="org.dive4elements.river.exports.HistoricalDischargeWQCurveGenerator"></output-generator>
        <output-generator name="historical_discharge_wq_chartinfo" class="org.dive4elements.river.exports.HistoricalDischargeWQCurveInfoGenerator"></output-generator>
        <output-generator name="historical_discharge_export" class="org.dive4elements.river.exports.HistoricalDischargeCurveExporter"></output-generator>
        <output-generator name="flow_velocity" class="org.dive4elements.river.exports.FlowVelocityGenerator"></output-generator>
        <output-generator name="flow_velocity_chartinfo" class="org.dive4elements.river.exports.FlowVelocityInfoGenerator"></output-generator>
        <output-generator name="flow_velocity_export" class="org.dive4elements.river.exports.FlowVelocityExporter"></output-generator>
        <output-generator name="bedheight_middle" class="org.dive4elements.river.exports.MiddleBedHeightGenerator"></output-generator>
        <output-generator name="bedheight_middle_chartinfo" class="org.dive4elements.river.exports.MiddleBedHeightInfoGenerator"></output-generator>
        <output-generator name="bedheight_middle_export" class="org.dive4elements.river.exports.MiddleBedHeightExporter"></output-generator>
        <output-generator name="bed_longitudinal_section" class="org.dive4elements.river.exports.minfo.BedQualityGenerator"></output-generator>
        <output-generator name="bed_longitudinal_section_chartinfo" class="org.dive4elements.river.exports.minfo.BedQualityInfoGenerator"></output-generator>
        <output-generator name="bed_quality_export" class="org.dive4elements.river.exports.minfo.BedQualityExporter"></output-generator>
        <output-generator name="bed_difference_year" class="org.dive4elements.river.exports.minfo.BedDifferenceYearGenerator"></output-generator>
        <output-generator name="bed_difference_year_chartinfo" class="org.dive4elements.river.exports.minfo.BedDiffYearInfoGenerator"></output-generator>
        <output-generator name="bed_difference_epoch" class="org.dive4elements.river.exports.minfo.BedDifferenceEpochGenerator"></output-generator>
        <output-generator name="bed_difference_epoch_chartinfo" class="org.dive4elements.river.exports.minfo.BedDiffEpochInfoGenerator"></output-generator>
        <output-generator name="bed_difference_height_year" class="org.dive4elements.river.exports.minfo.BedDiffHeightYearGenerator"></output-generator>
        <output-generator name="bed_difference_height_year_chartinfo" class="org.dive4elements.river.exports.minfo.BedDiffHeightYearInfoGenerator"></output-generator>
        <output-generator name="bedheight_difference_export" class="org.dive4elements.river.exports.minfo.BedDifferenceExporter"></output-generator>
        <output-generator name="sq_relation_a" class="org.dive4elements.river.exports.sq.SQRelationGeneratorA"></output-generator>
        <output-generator name="sq_relation_b" class="org.dive4elements.river.exports.sq.SQRelationGeneratorB"></output-generator>
        <output-generator name="sq_relation_c" class="org.dive4elements.river.exports.sq.SQRelationGeneratorC"></output-generator>
        <output-generator name="sq_relation_d" class="org.dive4elements.river.exports.sq.SQRelationGeneratorD"></output-generator>
        <output-generator name="sq_relation_e" class="org.dive4elements.river.exports.sq.SQRelationGeneratorE"></output-generator>
        <output-generator name="sq_relation_f" class="org.dive4elements.river.exports.sq.SQRelationGeneratorF"></output-generator>
        <output-generator name="sq_relation_a_chartinfo" class="org.dive4elements.river.exports.sq.SQRelationInfoGenerator"></output-generator>
        <output-generator name="sq_relation_b_chartinfo" class="org.dive4elements.river.exports.sq.SQRelationInfoGenerator"></output-generator>
        <output-generator name="sq_relation_c_chartinfo" class="org.dive4elements.river.exports.sq.SQRelationInfoGenerator"></output-generator>
        <output-generator name="sq_relation_d_chartinfo" class="org.dive4elements.river.exports.sq.SQRelationInfoGenerator"></output-generator>
        <output-generator name="sq_relation_e_chartinfo" class="org.dive4elements.river.exports.sq.SQRelationInfoGenerator"></output-generator>
        <output-generator name="sq_relation_f_chartinfo" class="org.dive4elements.river.exports.sq.SQRelationInfoGenerator"></output-generator>
        <output-generator name="sq_relation_export" class="org.dive4elements.river.exports.sq.SQRelationExporter"></output-generator>
        <output-generator name="sq_overview" class="org.dive4elements.river.exports.sq.SQOverviewGenerator"></output-generator>
        <output-generator name="fix_parameters_export" class="org.dive4elements.river.exports.fixings.ParametersExporter"></output-generator>
        <output-generator name="fix_deltawt_export" class="org.dive4elements.river.exports.fixings.DeltaWtExporter"></output-generator>
        <output-generator name="fix_deltawt_curve" class="org.dive4elements.river.exports.fixings.FixDeltaWtGenerator"></output-generator>
        <output-generator name="fix_deltawt_curve_chartinfo" class="org.dive4elements.river.exports.fixings.FixDeltaWtInfoGenerator"></output-generator>
        <output-generator name="fix_longitudinal_section_curve" class="org.dive4elements.river.exports.fixings.FixLongitudinalSectionGenerator"></output-generator>
        <output-generator name="fix_longitudinal_section_curve_chartinfo" class="org.dive4elements.river.exports.fixings.FixLongitudinalSectionInfoGenerator"></output-generator>
        <output-generator name="fix_derivate_curve" class="org.dive4elements.river.exports.fixings.FixDerivedCurveGenerator"></output-generator>
        <output-generator name="fix_derivate_curve_chartinfo" class="org.dive4elements.river.exports.fixings.FixDerivedCurveInfoGenerator"></output-generator>
        <output-generator name="fix_waterlevel_export" class="org.dive4elements.river.exports.WaterlevelExporter"></output-generator>
        <output-generator name="fix_vollmer_wq_curve" class="org.dive4elements.river.exports.fixings.FixWQCurveGenerator"></output-generator>
        <output-generator name="fix_vollmer_wq_curve_chartinfo" class="org.dive4elements.river.exports.fixings.FixWQCurveInfoGenerator"></output-generator>
        <output-generator name="sedimentload_ls" class="org.dive4elements.river.exports.minfo.SedimentLoadLSGenerator"></output-generator>
        <output-generator name="sedimentload_ls_export" class="org.dive4elements.river.exports.minfo.SedimentLoadExporter"></output-generator>
        <output-generator name="sedimentload_ls_chartinfo" class="org.dive4elements.river.exports.minfo.SedimentLoadLSInfoGenerator"></output-generator>
        <!-- Error report generators. -->
        <output-generator name="discharge_longitudinal_section_report" class="org.dive4elements.river.exports.ReportGenerator"></output-generator>
        <output-generator name="waterlevel_report" class="org.dive4elements.river.exports.ReportGenerator"></output-generator>
        <output-generator name="computed_dischargecurve_report" class="org.dive4elements.river.exports.ReportGenerator"></output-generator>
        <output-generator name="durationcurve_report" class="org.dive4elements.river.exports.ReportGenerator"></output-generator>
        <output-generator name="wsplgen_report" class="org.dive4elements.river.exports.ReportGenerator"></output-generator>
        <output-generator name="historical_discharge_report" class="org.dive4elements.river.exports.ReportGenerator"></output-generator>
        <output-generator name="reference_curve_report" class="org.dive4elements.river.exports.ReportGenerator"></output-generator>
        <output-generator name="fix_report" class="org.dive4elements.river.exports.ReportGenerator"></output-generator>
        <output-generator name="extreme_curve_report" class="org.dive4elements.river.exports.ReportGenerator"></output-generator>
        <output-generator name="sedimentload_ls_report" class="org.dive4elements.river.exports.ReportGenerator"></output-generator>
        <!-- AT exporter. -->
        <output-generator name="computed_dischargecurve_at_export" class="org.dive4elements.river.exports.ATExporter"></output-generator>
        <output-generator name="gauge_discharge_curve_at_export" class="org.dive4elements.river.exports.ATExporter"></output-generator>
        <output-generator name="fix_wq_curve_at_export" class="org.dive4elements.river.exports.fixings.FixATExport"></output-generator>
        <output-generator name="wsplgen" class="org.dive4elements.river.exports.ShapeExporter"></output-generator>
    </output-generators>

    <!-- Path to the template file of the meta data. -->
    <metadata>
        <template>${artifacts.config.dir}/meta-data.xml</template>
    </metadata>

    &floodmap;
    &rivermap;

    &rest-server;

    <!-- Garbage collection of outdated artifacts. -->
    <cleaner>
        <sleep-time>60000</sleep-time>
    </cleaner>

    <cache>
        <config-file>${artifacts.config.dir}/cache.xml</config-file>
    </cache>

    <!-- Configuration of used databases. -->
    &artifact-db;
    &datacage-db;
    &backend-db;
    &seddb-db;

    <flys>
        <themes>
            <configuration>${artifacts.config.dir}/themes.xml</configuration>
        </themes>
    </flys>

    <options>
        <zoom-scales>
            <zoom-scale river="Elbe" range="50" radius="1" />
            <zoom-scale river="Elbe" range="100" radius="5" />
            <zoom-scale river="Elbe" range="500" radius="10" />
            <zoom-scale river="Rhein" range="50" radius="1" />
            <zoom-scale river="Rhein" range="100" radius="5" />
            <zoom-scale river="Rhein" range="500" radius="10" />
        </zoom-scales>

        <dgm-path>/path/to/rivers/</dgm-path>
    </options>

    <!-- base url for online help. -->
    <help-url>http://example.com</help-url>
</artifact-database>

http://dive4elements.wald.intevation.org