Mercurial > dive4elements > framework
comparison artifacts/src/main/java/org/dive4elements/artifacts/ContextInjector.java @ 529:6e29526b621a
Added new interface for call context injectors.
author | Sascha L. Teichmann <teichmann@intevation.de> |
---|---|
date | Mon, 08 Sep 2014 12:54:05 +0200 |
parents | |
children | 7b8cf3da4f05 |
comparison
equal
deleted
inserted
replaced
528:ae40cf24f158 | 529:6e29526b621a |
---|---|
1 /* | |
2 * Copyright (c) 2013 by Intevation GmbH | |
3 * | |
4 * This program is free software under the LGPL (>=v2.1) | |
5 * Read the file LGPL.txt coming with the software for details | |
6 * or visit http://www.gnu.org/licenses/ if it does not exist. | |
7 */ | |
8 package org.dive4elements.artifacts; | |
9 | |
10 import org.w3c.dom.Element; | |
11 | |
12 public interface ContextInjector { | |
13 | |
14 void setup(Element cfg); | |
15 | |
16 void injectContext(CallContext ctx, Artifact artifact); | |
17 } | |
18 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 : |