poller = new SynchronousActivityTaskPoller();
poller.setActivityImplementationFactory(factory);
}
public SynchronousActivityWorker(AmazonSimpleWorkflow service, String domain, String taskListToPoll) {
poller = new SynchronousActivityTaskPoller(service, domain, taskListToPoll, factory);
}