@Override public void checkForUpdate() { if (updateCheckService != null) { updateCheckService.checkForUpdate(this); } else { // Requirement to run check even is service isn't running Service service = ServiceFactory.newServiceFactory().newService("update.check"); if (service != null) { updateCheckService = (UpdateCheckService) service; updateCheckService.checkForUpdate(this); } } }