/*
 * 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.client.factory;

import java.util.Hashtable;

import workflow.WorkflowException;
import workflow.client.WorkflowClient;

/**
 * @author reic
 *
 * To change the template for this generated type comment go to
 * Window - Preferences - Java - Code Generation - Code and Comments
 */
public interface WorkflowClientFactory
{
	/**
		* Creates an Initial LiveClient for beginning name resolution.
		* Special requirements of this context are supplied
		* using <code>environment</code>.
		*<p>
		* The environment parameter is owned by the caller.
		* The implementation will not modify the object or keep a reference
		* to it, although it may keep a reference to a clone or copy.
		*
		* @param environment The possibly null environment
		* 		specifying information to be used in the creation 
		* 		of the initial workflowclient.
		* @return A non-null initial context object that implements the ParameterContext
		*		interface.
		* @exception NamingException If cannot create an initial context.
		*/
	public WorkflowClient getInitialLocalClient(Hashtable environment) throws WorkflowException;
}