private final POJOWorkflowDefinitionFactoryFactory factoryFactory = new POJOWorkflowDefinitionFactoryFactory();
private final Collection<Class<?>> workflowImplementationTypes = new ArrayList<Class<?>>();
public WorkflowWorker(AmazonSimpleWorkflow service, String domain, String taskListToPoll) {
genericWorker = new GenericWorkflowWorker(service, domain, taskListToPoll);
genericWorker.setWorkflowDefinitionFactoryFactory(factoryFactory);
}