annotate artifacts/src/main/java/org/dive4elements/artifacts/ContextInjector.java @ 565:8d11d6a17f3b

Mit 3.2.x zusammenführen
author Gernot Belger <g.belger@bjoernsen.de>
date Wed, 15 Jul 2020 11:53:27 +0200
parents 7b8cf3da4f05
children
rev   line source
529
6e29526b621a Added new interface for call context injectors.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff changeset
1 /*
6e29526b621a Added new interface for call context injectors.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff changeset
2 * Copyright (c) 2013 by Intevation GmbH
6e29526b621a Added new interface for call context injectors.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff changeset
3 *
6e29526b621a Added new interface for call context injectors.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff changeset
4 * This program is free software under the LGPL (>=v2.1)
6e29526b621a Added new interface for call context injectors.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff changeset
5 * Read the file LGPL.txt coming with the software for details
6e29526b621a Added new interface for call context injectors.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff changeset
6 * or visit http://www.gnu.org/licenses/ if it does not exist.
6e29526b621a Added new interface for call context injectors.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff changeset
7 */
6e29526b621a Added new interface for call context injectors.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff changeset
8 package org.dive4elements.artifacts;
6e29526b621a Added new interface for call context injectors.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff changeset
9
6e29526b621a Added new interface for call context injectors.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff changeset
10 import org.w3c.dom.Element;
530
7b8cf3da4f05 Added request document to call context injector.
Sascha L. Teichmann <teichmann@intevation.de>
parents: 529
diff changeset
11 import org.w3c.dom.Document;
529
6e29526b621a Added new interface for call context injectors.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff changeset
12
6e29526b621a Added new interface for call context injectors.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff changeset
13 public interface ContextInjector {
6e29526b621a Added new interface for call context injectors.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff changeset
14
6e29526b621a Added new interface for call context injectors.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff changeset
15 void setup(Element cfg);
6e29526b621a Added new interface for call context injectors.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff changeset
16
530
7b8cf3da4f05 Added request document to call context injector.
Sascha L. Teichmann <teichmann@intevation.de>
parents: 529
diff changeset
17 void injectContext(CallContext ctx, Artifact artifact, Document request);
529
6e29526b621a Added new interface for call context injectors.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff changeset
18 }
6e29526b621a Added new interface for call context injectors.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff changeset
19 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :

http://dive4elements.wald.intevation.org