Update AbstractRegisteredService.java