taskHandler = new AsyncDecisionTaskHandler(ff);
}
public WorkflowReplayer(AmazonSimpleWorkflow service, String domain, WorkflowExecution workflowExecution,
final T workflowImplementation) throws InstantiationException, IllegalAccessException {
WorkflowDefinitionFactoryFactory ff = new WorkflowReplayerPOJOFactoryFactory(workflowImplementation);
taskIterator = new ServiceDecisionTaskIterator(service, domain, workflowExecution);
taskHandler = new AsyncDecisionTaskHandler(ff);
}