comparison flys-artifacts/src/main/java/de/intevation/flys/artifacts/context/FLYSContext.java @ 3806:881fcd01e056

merged flys-artifacts/pre2.6-2011-11-04
author Thomas Arendsen Hein <thomas@intevation.de>
date Fri, 28 Sep 2012 12:14:50 +0200
parents e55f1a851923
children 368040e5c400
comparison
equal deleted inserted replaced
3802:e831dc29e572 3806:881fcd01e056
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
50 /**
51 * The default constructor.
52 */
53 public FLYSContext() {
54 super();
55 }
56
57
58 /**
59 * A constructor with a config document.
60 */
61 public FLYSContext(Document config) {
62 super(config);
63 }
64 }
65 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :

http://dive4elements.wald.intevation.org