141516171819202122
protected void setDateService(DateService dateService) { log("setDateService"); this.dateService = dateService; if(thread == null) { thread = new ServiceUserThread(dateService, "declarative example"); thread.start(); } }