//----------------------------BEGIN LICENSE----------------------------
/* 
 * Willow : the Open Source WorkFlow Project
 * Distributable under GNU LGPL license by gun.org
 *
 * Copyright (C) 2004-2010 huihoo.org 
 * Copyright (C) 2004-2010  ZosaTapo <dertyang@hotmail.com> 
 * 
 * ====================================================================
 * Project Homepage : http://www.huihoo.org/willow
 * Source Forge     : http://sourceforge.net/projects/huihoo
 * Mailing list     : willow@lists.sourceforge.net 
 */
//----------------------------END  LICENSE----------------------------

package org.huihoo.workflow.server;

/** 
	 * This is the event class for notifications about changes to
	 * the workflow context of a workflow application.
	 * @see WorkflowContextListener
	 */

public class WorkflowContextEvent extends java.util.EventObject
{

	/** Construct a WorkflowContextEvent from the given context.
	 *
	 * @param source - the WorkflowContext that is sending the event.
	 */
	public WorkflowContextEvent(WorkflowContext source)
	{
		super(source);
	}

	/**
	 * Return the WorkflowContext that changed.
	 *
	 * @return the WorkflowContext that sent the event.
	 */
	public WorkflowContext getWorkflowContext()
	{
		return (WorkflowContext) super.getSource();
	}

}