1 16 package org.springframework.webflow.execution.repository.support; 17 18 import org.springframework.util.Assert; 19 import org.springframework.webflow.execution.FlowExecution; 20 import org.springframework.webflow.execution.FlowExecutionFactory; 21 import org.springframework.webflow.execution.repository.FlowExecutionRepository; 22 23 36 public abstract class AbstractFlowExecutionRepository implements FlowExecutionRepository { 37 38 42 private FlowExecutionStateRestorer executionStateRestorer; 43 44 48 protected AbstractFlowExecutionRepository(FlowExecutionStateRestorer executionStateRestorer) { 49 setExecutionStateRestorer(executionStateRestorer); 50 } 51 52 57 protected FlowExecutionStateRestorer getExecutionStateRestorer() { 58 return executionStateRestorer; 59 } 60 61 67 private void setExecutionStateRestorer( 68 FlowExecutionStateRestorer executionStateRestorer) { 69 Assert.notNull(executionStateRestorer, "The flow execution state restorer is required"); 70 this.executionStateRestorer = executionStateRestorer; 71 } 72 73 } 74 | Popular Tags |