Package org.springframework.webflow.execution.repository

Examples of org.springframework.webflow.execution.repository.FlowExecutionRestorationFailureException


    FlowDefinition def = flowDefinitionLocator.getFlowDefinition(flowId);
    FlowExecution execution;
    try {
      execution = snapshotImpl.unmarshal(def.getClassLoader());
    } catch (SnapshotUnmarshalException e) {
      throw new FlowExecutionRestorationFailureException(key, e);
    }
    flowExecutionFactory.restoreFlowExecution(execution, def, key, conversationScope, flowDefinitionLocator);
    return execution;
  }
View Full Code Here


    Conversation conversation = getConversation(key);
    FlowExecutionSnapshot snapshot;
    try {
      snapshot = getSnapshotGroup(conversation).getSnapshot(getSnapshotId(key));
    } catch (SnapshotNotFoundException e) {
      throw new FlowExecutionRestorationFailureException(key, e);
    }
    return restoreFlowExecution(snapshot, key, conversation);
  }
View Full Code Here

    Conversation conversation = getConversation(key);
    FlowExecutionSnapshot snapshot;
    try {
      snapshot = getSnapshotGroup(conversation).getSnapshot(getSnapshotId(key));
    } catch (SnapshotNotFoundException e) {
      throw new FlowExecutionRestorationFailureException(key, e);
    }
    return restoreFlowExecution(snapshot, key, conversation);
  }
View Full Code Here

    FlowDefinition def = flowDefinitionLocator.getFlowDefinition(flowId);
    FlowExecution execution;
    try {
      execution = snapshotImpl.unmarshal(def.getClassLoader());
    } catch (SnapshotUnmarshalException e) {
      throw new FlowExecutionRestorationFailureException(key, e);
    }
    flowExecutionFactory.restoreFlowExecution(execution, def, key, conversationScope, flowDefinitionLocator);
    return execution;
  }
View Full Code Here

TOP

Related Classes of org.springframework.webflow.execution.repository.FlowExecutionRestorationFailureException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.