ingo@100: /* ingo@100: * Copyright (c) 2010 by Intevation GmbH ingo@100: * ingo@100: * This program is free software under the LGPL (>=v2.1) ingo@100: * Read the file LGPL.txt coming with the software for details ingo@100: * or visit http://www.gnu.org/licenses/ if it does not exist. ingo@100: */ ingo@100: teichmann@475: package org.dive4elements.artifacts; sascha@4: sascha@4: import org.w3c.dom.Document; sascha@4: sascha@4: /** sascha@4: * Interface of a factory that produces a global artifact context in the artifact data base. sascha@4: * sascha@77: * @author Sascha L. Teichmann sascha@4: */ sascha@4: public interface ArtifactContextFactory sascha@4: { sascha@4: /** sascha@4: * Creates a global context given a configuration in the artifact data base. sascha@4: * @param config the configuration. sascha@4: * @return The global context. teichmann@475: * {@link org.dive4elements.artifacts.ArtifactFactory#createArtifact(String, Object, Document) createArtifact()} teichmann@475: * {@link org.dive4elements.artifacts.Artifact Artifact} sascha@4: */ ingo@293: GlobalContext createArtifactContext(Document config); sascha@4: } sascha@85: // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :