org.apache.lenya.workflow
Interface WorkflowListener

All Known Implementing Classes:
CMSHistory, History

public interface WorkflowListener

Workflow listener interface.


Method Summary
 void transitionFired(WorkflowInstance instance, Situation situation, Event event)
          This method is invoked when a transition has fired.
 

Method Detail

transitionFired

void transitionFired(WorkflowInstance instance,
                     Situation situation,
                     Event event)
                     throws WorkflowException
This method is invoked when a transition has fired.

Parameters:
instance - The workflow instance.
situation - The situation before the transition has fired.
event - The event that was invoked.
Throws:
WorkflowException - if an error occured


Copyright © 1999-2005 Apache Software Foundation. All Rights Reserved.