Mercurial > dive4elements > river
comparison flys-artifacts/src/main/java/de/intevation/flys/artifacts/context/FLYSContext.java @ 3818:dc18457b1cef
merged flys-artifacts/pre2.7-2012-03-16
author | Thomas Arendsen Hein <thomas@intevation.de> |
---|---|
date | Fri, 28 Sep 2012 12:14:59 +0200 |
parents | 368040e5c400 |
children | 4fc442f1b4f6 |
comparison
equal
deleted
inserted
replaced
2456:60ab1054069d | 3818:dc18457b1cef |
---|---|
1 package de.intevation.flys.artifacts.context; | |
2 | |
3 import org.apache.log4j.Logger; | |
4 | |
5 import org.w3c.dom.Document; | |
6 | |
7 import de.intevation.artifactdatabase.DefaultArtifactContext; | |
8 | |
9 | |
10 /** | |
11 * This class is used to store application wide information in a global context. | |
12 * | |
13 * @author <a href="mailto:ingo.weinzierl@intevation.de">Ingo Weinzierl</a> | |
14 */ | |
15 public class FLYSContext extends DefaultArtifactContext { | |
16 | |
17 /** The logger used in this class. */ | |
18 private static Logger logger = Logger.getLogger(FLYSContext.class); | |
19 | |
20 /** The key that is used to store the StateEngine in the context. */ | |
21 public static final String ARTIFACT_KEY = | |
22 "artifact"; | |
23 | |
24 /** The key that is used to store the TransitionEngine in the context. */ | |
25 public static final String TRANSITION_ENGINE_KEY = | |
26 "artifact.transition.engine"; | |
27 | |
28 /** The key that is used to store the StateEngine in the context. */ | |
29 public static final String STATE_ENGINE_KEY = | |
30 "artifact.state.engine"; | |
31 | |
32 /** The key that is used to store the Map of OutGenerator classes in the | |
33 * context. */ | |
34 public static final String OUTGENERATORS_KEY = | |
35 "flys.export.outgenerators"; | |
36 | |
37 /** The key that is used to store the map of themes in the context. */ | |
38 public static final String THEMES = | |
39 "flys.themes.map"; | |
40 | |
41 /** The key that is used to store a map of theme mappings in the context. */ | |
42 public static final String THEME_MAPPING = | |
43 "flys.themes.mapping.map"; | |
44 | |
45 /** The key that is used to store a map of WMS urls for each river. */ | |
46 public static final String RIVER_WMS = | |
47 "flys.floodmap.river.wms"; | |
48 | |
49 /** The key that is used to store an instance of Scheduler in the context.*/ | |
50 public static final String SCHEDULER = | |
51 "flys.wsplgen.scheduler"; | |
52 | |
53 | |
54 /** | |
55 * The default constructor. | |
56 */ | |
57 public FLYSContext() { | |
58 super(); | |
59 } | |
60 | |
61 | |
62 /** | |
63 * A constructor with a config document. | |
64 */ | |
65 public FLYSContext(Document config) { | |
66 super(config); | |
67 } | |
68 } | |
69 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 : |