Mercurial > dive4elements > framework
comparison artifacts/src/main/java/de/intevation/artifacts/Service.java @ 78:55eefe63a777
Repaired the javadoc stuff for almost all artifact interfaces.
artifacts/trunk@760 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Thu, 11 Mar 2010 10:53:59 +0000 |
parents | 48d1a9a082c2 |
children | 933bbc9fc11f |
comparison
equal
deleted
inserted
replaced
77:48d1a9a082c2 | 78:55eefe63a777 |
---|---|
3 import java.io.Serializable; | 3 import java.io.Serializable; |
4 | 4 |
5 import org.w3c.dom.Document; | 5 import org.w3c.dom.Document; |
6 | 6 |
7 /** | 7 /** |
8 * The idea is to process some input XML document to produce an output | |
9 * XML document. | |
8 * @author <a href="mailto:sascha.teichmann@intevation.de">Sascha L. Teichmann</a> | 10 * @author <a href="mailto:sascha.teichmann@intevation.de">Sascha L. Teichmann</a> |
9 */ | 11 */ |
10 public interface Service | 12 public interface Service |
11 extends Serializable | 13 extends Serializable |
12 { | 14 { |
15 /** | |
16 * Processes some input XML document | |
17 * @param data The input data | |
18 * @param globalContext The global context of the artifact database. | |
19 * @param callMeta The call meta contex, e.g. preferred languages. | |
20 * @return The result output XML document. | |
21 */ | |
13 Document process(Document data, Object globalContext, CallMeta callMeta); | 22 Document process(Document data, Object globalContext, CallMeta callMeta); |
14 | 23 |
24 /** | |
25 * Setup the concrete processing service. This is done at startup time | |
26 * of the artifact database system. | |
27 * @param factory The service factory which created this service. | |
28 * @param globalContext The global context of the artifact database. | |
29 */ | |
15 void setup(ServiceFactory factory, Object globalContext); | 30 void setup(ServiceFactory factory, Object globalContext); |
16 } | 31 } |
17 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 : | 32 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 : |