taskHandler = new AsyncDecisionTaskHandler(ff);
}
public WorkflowReplayer(Iterable<HistoryEvent> history, WorkflowExecution workflowExecution, final T workflowImplementation)
throws InstantiationException, IllegalAccessException {
WorkflowDefinitionFactoryFactory ff = new WorkflowReplayerPOJOFactoryFactory(workflowImplementation);
taskIterator = new HistoryIterableDecisionTaskIterator(workflowExecution, history);
taskHandler = new AsyncDecisionTaskHandler(ff);
}