EndProcessAction.java
01 /*
02  * Created on Aug 29, 2007
03  */
04 package com.x8ing.mc.bp.develop;
05 
06 import java.util.List;
07 
08 import com.x8ing.lsm4j.Condition;
09 import com.x8ing.lsm4j.state.ProcessableState;
10 import com.x8ing.mc.bp.AbstractBusinessAction;
11 import com.x8ing.mc.bp.BusinessContext;
12 
13 /**
14  * A virtual action for state framework reasons only.
15  
16  @author Patrick Heusser
17  */
18 public class EndProcessAction extends AbstractBusinessAction {
19 
20   /**
21    @see com.x8ing.mc.bp.AbstractBusinessAction#execute(com.x8ing.lsm4j.state.ProcessableState,
22    *      com.x8ing.mc.bp.BusinessContext, com.x8ing.lsm4j.Condition, java.util.List)
23    */
24   public void execute(ProcessableState currentState, BusinessContext businessContext, Condition previousCondition,
25       List lastVisitedStatesHistory) {
26 
27     addLogBookEntry("virtual end");
28 
29   }
30 
31   protected void lazyInit() {
32     // empty
33   }
34 
35 }