Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/artifacts/StaticWKmsArtifact.java @ 7842:8d5ca5175038
Updated signature of artifacts setup method; Removed unnecessary setup overrides.
author | Raimund Renkert <rrenkert@intevation.de> |
---|---|
date | Wed, 30 Apr 2014 15:12:32 +0200 |
parents | 7484132b2fbb |
children | e4606eae8ea5 |
comparison
equal
deleted
inserted
replaced
7841:8036688f24e1 | 7842:8d5ca5175038 |
---|---|
101 public void setup( | 101 public void setup( |
102 String identifier, | 102 String identifier, |
103 ArtifactFactory factory, | 103 ArtifactFactory factory, |
104 Object context, | 104 Object context, |
105 CallMeta callMeta, | 105 CallMeta callMeta, |
106 Document data) | 106 Document data, |
107 List<Class> loadFacets) | |
107 { | 108 { |
108 logger.debug("StaticWKmsArtifact.setup"); | 109 logger.debug("StaticWKmsArtifact.setup"); |
109 | 110 |
110 state = new StaticState(STATIC_STATE_NAME); | 111 state = new StaticState(STATIC_STATE_NAME); |
111 | 112 |
177 addFacets(state.getID(), fs); | 178 addFacets(state.getID(), fs); |
178 } | 179 } |
179 } | 180 } |
180 | 181 |
181 spawnState(); | 182 spawnState(); |
182 super.setup(identifier, factory, context, callMeta, data); | 183 super.setup(identifier, factory, context, callMeta, data, loadFacets); |
183 } | 184 } |
184 | 185 |
185 | 186 |
186 /** | 187 /** |
187 * Initialize the static state with output. | 188 * Initialize the static state with output. |