for (ServerRuntimeContextService serverRuntimeContextService : serviceList) {
registerServerRuntimeContextService(serverRuntimeContextService);
// if a storage service, also register there
if (serverRuntimeContextService instanceof StorageProvider) {
StorageProvider storageProvider = (StorageProvider) serverRuntimeContextService;
storageProviderRegistry.add(storageProvider);
}
}
}