notificationPort = getIntegerArgument(taskConfig, ARG_NOTIFICATION_PORT, DEFAULT_NOTIFICATION_PORT);
// Convert argument strings to strongly typed objects.
dataDirectory = new File(dataDirectoryString);
return new RunnableTaskManager(
taskConfig.getId(),
new ReplicationDataServer(notificationPort, dataDirectory, port),
taskConfig.getPipeArgs()
);
}