/*
 * Created on 2004-6-8
 *
 * To change the template for this generated file go to
 * Window - Preferences - Java - Code Generation - Code and Comments
 */
package org.huihoo.willow;

/**
 * @author reic
 *
 * To change the template for this generated type comment go to
 * Window - Preferences - Java - Code Generation - Code and Comments
 */
public class Globals
{
	/** port server listens for shutdown*/
	public static final int    PORT_SHUTDOWN            = 8023;//my honey :)

	/** port RMI export for client incoming */
	public static final int    PORT_RMI_EXPORT          = 2014;//my honey :)

	public static final String PROPS_WILLOW_HOME      = "willow.home";
	public static final String PROPS_WILLOW_JAR       = "willow.jar";
	
	/**
	 * The script context attribute under which we store the class loader
	 * used for loading script (as an object of type java.net.URLClassLoader).
	 */
	public static final String CLASS_LOADER_ATTR = "wangll.willow.wfs_classloader";

	/**
	 * The script context attribute under which we store the class path
	 * for our application class loader (as an object of type String),
	 * delimited with the appropriate path delimiter for this platform.
	 */
	public static final String CLASS_PATH_ATTR   = "wangll.willow.wfs_classpath";

	/**
	 * The script context attribute under which we store a temporary
	 * working directory (as an object of type File) for use by servlets
	 * within this workflow application.
	 */
	public static final String WORK_DIR_ATTR    = "wangll.willow.wfs_scratchdir";
	
	/**
	 * The script context attribute under which we store all script files
	 * working directory (as an object of type File) for use by servlets
	 * within this workflow application.
	 */
	public static final String SCRIPT_FILE_DIR     = "wangll.willow.wfs_scriptdir";
}
