class SpaceConfigStorageRegistryImpl implements SpaceConfigStorageRegistry {

    @Override
    public SpaceConfigStorage get(final String spaceName) {

        return storageBySpaceName.computeIfAbsent(spaceName,
                                                  name -> {
                                                      final SpaceConfigStorage spaceConfigStorage = spaceConfigStorages.get();
                                                      spaceConfigStorage.setup(spaceName);
                                                      return spaceConfigStorage;
                                                  });
    }

    public  SpaceConfigStorageRegistryImpl();
    @Inject public  SpaceConfigStorageRegistryImpl(final Instance<SpaceConfigStorage> spaceConfigStorages);

}