/*
 * 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;

/**
 * @author reic
 *
 * To change the template for this generated type comment go to
 * Window - Preferences - Java - Code Generation - Code and Comments
 */
public interface WorkflowClientFactoryBuilder
{
	/**
	 * Creates an initial workflowclient factory using the specified
	 * environment.
	 *<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 Environment used in creating an initial
	 *			context implementation. Can be null.
	 * @return A non-null initial workflowclient factory.
	 * @exception NamingException If an initial workflowclient factory could not be created.
	 */
	 public WorkflowClientFactory createInitialLocalClientFactory(Hashtable environment) throws WorkflowException;
}