void (DaemonClientFactory daemonClientFactory) { ServiceRegistry daemonServices = getDaemonServices(daemonClientFactory); DaemonStopClient stopClient = daemonServices.get(DaemonStopClient.class); stopAll(stopClient, daemonServices); }