}
private void registerServices() {
try {
IPath taskLocation = getTaskLocation();
taskService = new TaskService(taskLocation);
taskServiceRegistration = bundleContext.registerService(ITaskService.class, taskService, null);
} catch (IOException e) {
LogHelper.log(new Status(IStatus.ERROR, ServerConstants.PI_SERVER_CORE, "Failed to initialize task service", e)); //$NON-NLS-1$
}
}