Mercurial > dive4elements > framework
changeset 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 | ae40cf24f158 |
children | 7b8cf3da4f05 |
files | artifacts/src/main/java/org/dive4elements/artifacts/ContextInjector.java |
diffstat | 1 files changed, 18 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/artifacts/src/main/java/org/dive4elements/artifacts/ContextInjector.java Mon Sep 08 12:54:05 2014 +0200 @@ -0,0 +1,18 @@ +/* + * Copyright (c) 2013 by Intevation GmbH + * + * This program is free software under the LGPL (>=v2.1) + * Read the file LGPL.txt coming with the software for details + * or visit http://www.gnu.org/licenses/ if it does not exist. + */ +package org.dive4elements.artifacts; + +import org.w3c.dom.Element; + +public interface ContextInjector { + + void setup(Element cfg); + + void injectContext(CallContext ctx, Artifact artifact); +} +// vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :