INFINISPAN_CONFIGURATION_RESOURCENAME,
DEFAULT_INFINISPAN_CONFIGURATION_RESOURCENAME
);
final String transportOverrideResource = properties.getProperty( INFINISPAN_TRANSPORT_OVERRIDE_RESOURCENAME );
try {
InfinispanConfigurationParser ispnConfiguration = new InfinispanConfigurationParser();
ConfigurationBuilderHolder configurationBuilderHolder = ispnConfiguration.parseFile( cfgName, transportOverrideResource, serviceManager );
cacheManager = new DefaultCacheManager( configurationBuilderHolder, true );
manageCacheManager = true;
}
catch (IOException e) {
throw new SearchException(