serviceConfigurationListener = new DelegatingServiceConfigurationListener(
loggerForBuiltinService(ServiceConfigurationListener.class.getSimpleName()));
Logger logger = loggerForBuiltinService(PERTHREAD_MANAGER_SERVICE_ID);
PerthreadManagerImpl ptmImpl = new PerthreadManagerImpl(logger);
perthreadManager = ptmImpl;
final ServiceActivityTrackerImpl scoreboardAndTracker = new ServiceActivityTrackerImpl(perthreadManager);
tracker = scoreboardAndTracker;
logger = loggerForBuiltinService(REGISTRY_SHUTDOWN_HUB_SERVICE_ID);
registryShutdownHub = new RegistryShutdownHubImpl(logger);
ptmImpl.registerForShutdown(registryShutdownHub);
lifecycles.put("singleton", new SingletonServiceLifecycle());
registryShutdownHub.addRegistryShutdownListener(new Runnable()
{