# HG changeset patch # User Sascha L. Teichmann # Date 1410173645 -7200 # Node ID 6e29526b621a2dd6ac6d74923231d5aaca19c3fa # Parent ae40cf24f158d06db1ff67cdf0892d9e8b47f3f8 Added new interface for call context injectors. diff -r ae40cf24f158 -r 6e29526b621a artifacts/src/main/java/org/dive4elements/artifacts/ContextInjector.java --- /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 :