/* * Copyright (C) 2006-2016 DLR, Germany * * All rights reserved * * http://www.rcenvironment.de/ */ package de.rcenvironment.components.script.common.registry; import de.rcenvironment.core.utils.scripting.ScriptLanguage; /** * Interface for a factory, that registers a new Script Executor for a specific script language. * * @author Sascha Zur */ public interface ScriptExecutorFactory { /** * Returns the language this factory creates executors for. * * @return instance of ScriptExecutor */ ScriptLanguage getSupportingScriptLanguage(); /** * Returns an executor for the script language that factory is for. * * @return instance of executor instance */ ScriptExecutor createScriptExecutor(); }