Class Utils

    • Method Detail

      • loadJGroupsConfig

        public static boolean loadJGroupsConfig​(org.exoplatform.container.configuration.ConfigurationManager cfm,
                                                org.infinispan.configuration.global.GlobalConfiguration config,
                                                org.infinispan.configuration.global.GlobalConfigurationBuilder configBuilder)
                                         throws org.exoplatform.services.cache.ExoCacheInitException
        Load the JGroups configuration file thanks to the ConfigurationManager
        Parameters:
        config - the global configuration from which the JGroups config will be extracted
        configBuilder - the related configuration builder
        Returns:
        true if the JGoups config could be loaded successfully, false if there were no JGroups config to load
        Throws:
        IllegalStateException - if the JGroups config could not be loaded
        org.exoplatform.services.cache.ExoCacheInitException