docs: public static ConfigurationBuilderHolder loadConfiguration(ServiceRegistry registry, Properties properties) {
        String config = ConfigurationHelper.extractPropertyValue(INFINISPAN_CONFIG_RESOURCE_PROP, properties);
        ConfigurationBuilderHolder holder = loadConfiguration(registry, (config != null) ? config : DEF_INFINISPAN_CONFIG_RESOURCE);
  
        // Override statistics if enabled via properties
        String globalStatsProperty = ConfigurationHelper.extractPropertyValue(INFINISPAN_GLOBAL_STATISTICS_PROP, properties);
        if (globalStatsProperty != null) {
           holder.getGlobalConfigurationBuilder().globalJmxStatistics().enabled(Boolean.parseBoolean(globalStatsProperty));
        }
  
        return holder;
     }