class StaticServicesRegistrationService {

    synchronized void renewInstances() {
        log.debug("Renewing static instances");
        PeerAwareInstanceRegistry registry = getRegistry();
        for (InstanceInfo instance : getStaticInstances()) {
            registry.renew(instance.getAppName(), instance.getId(), false);
        }
    }

    @Autowired public  StaticServicesRegistrationService(ServiceDefinitionProcessor serviceDefinitionProcessor, MetadataDefaultsService metadataDefaultsService);

}