class StubConfigurationSaverService {

    public void saveStubConfigurations() throws JsonTransformationException {
        cleaner.cleanCache();
        Map<String, StubDescriptor> descriptors = routingService.getStubDescriptors();
        saver.saveAllStubConfigurations(descriptors);
    }

}