Package org.exoplatform.services.ispn
Class Utils
- java.lang.Object
-
- org.exoplatform.services.ispn.Utils
-
public class Utils extends Object
- Version:
- $Id$
- Author:
- Nicolas Filotto
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static booleanloadJGroupsConfig(org.exoplatform.container.configuration.ConfigurationManager cfm, org.infinispan.configuration.global.GlobalConfiguration config, org.infinispan.configuration.global.GlobalConfigurationBuilder configBuilder)Load the JGroups configuration file thanks to theConfigurationManager
-
-
-
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.ExoCacheInitExceptionLoad the JGroups configuration file thanks to theConfigurationManager- Parameters:
config- the global configuration from which the JGroups config will be extractedconfigBuilder- the related configuration builder- Returns:
trueif the JGoups config could be loaded successfully,falseif there were no JGroups config to load- Throws:
IllegalStateException- if the JGroups config could not be loadedorg.exoplatform.services.cache.ExoCacheInitException
-
-