public class TaskServiceImpl implements TaskService {
Map<Integer, Task> taskMap;
public TaskServiceImpl() {
taskMap = new HashMap<Integer, Task>();
Task task = new Task();
task.setId(1);
task.setTitle("Buy some coffee");
task.setDescription("Take the extra strong");
addTask(task);
task = new Task();
task.setId(2);
task.setTitle("Finish karaf tutorial");
task.setDescription("Last check and wiki upload");
addTask(task);
}