Mercurial > dive4elements > river
view flys-artifacts/src/main/java/de/intevation/flys/wsplgen/SchedulerSetup.java @ 5128:a020100ee6a1
SCHEME CHANGE: Merge branch dami into default.
A summary on the scheme changes:
HWS and Lines tables are dropped and will be replaced by HWS_Lines and
HWS_Points.
The catchment table removed and will be replaced
by a WMS Service.
Hydr_boundaries has an added reference to boundary_kind sectie_kind
and sobek_kind objects.
Dem has a new column srid.
author | Andre Heinecke <aheinecke@intevation.de> |
---|---|
date | Thu, 28 Feb 2013 11:48:17 +0100 |
parents | 368040e5c400 |
children |
line wrap: on
line source
package de.intevation.flys.wsplgen; import org.w3c.dom.Document; import de.intevation.artifacts.GlobalContext; import de.intevation.artifactdatabase.LifetimeListener; import de.intevation.flys.artifacts.context.FLYSContext; /** * A LifetimeListener that is used to create an instance of Scheduler. This * instance is put into the GlobalContext using FLYSContext.SCHEDULER. * * @author <a href="mailto:ingo.weinzierl@intevation.de">Ingo Weinzierl</a> */ public class SchedulerSetup implements LifetimeListener { @Override public void setup(Document document) { } @Override public void systemUp(GlobalContext globalContext) { Scheduler scheduler = Scheduler.getInstance(); globalContext.put(FLYSContext.SCHEDULER, scheduler); } @Override public void systemDown(GlobalContext globalContext) { // TODO IMPLEMENT ME! } } // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :