/*
 * Created on 2004-9-5
 *
 * To change the template for this generated file go to
 * Window - Preferences - Java - Code Generation - Code and Comments
 */
package workflow.script.core;

import java.util.Enumeration;

/**
 * @author reic
 *
 * To change the template for this generated type comment go to
 * Window - Preferences - Java - Code Generation - Code and Comments
 */
public interface ScriptConfig
{
	/**
	 * Returns a reference to the {@link ScriptContext} in which the caller
	 * is executing.
	 *
	 *
	 * @return		a {@link ScriptContext} object, used
	 *			by the caller to interact with its servlet 
	 *                  container
	 * 
	 * @see		ScriptContext
	 *
	 */

	public ScriptContext getScriptContext();
    
	/**
	 * Returns a <code>String</code> containing the value of the 
	 * named initialization parameter, or <code>null</code> if 
	 * the parameter does not exist.
	 *
	 * @param name	a <code>String</code> specifying the name
	 *			of the initialization parameter
	 *
	 * @return		a <code>String</code> containing the value 
	 *			of the initialization parameter
	 *
	 */

	public String getInitParameter(String name);


	/**
	 * Returns the names of the servlet's initialization parameters
	 * as an <code>Enumeration</code> of <code>String</code> objects, 
	 * or an empty <code>Enumeration</code> if the servlet has
	 * no initialization parameters.
	 *
	 * @return		an <code>Enumeration</code> of <code>String</code> 
	 *			objects containing the names of the servlet's 
	 *			initialization parameters
	 *
	 *
	 *
	 */

	public Enumeration getInitParameterNames();
}
