public ConfigurationBuilderHolder parseFile ( String filename , String transportOverrideResource , ServiceManager serviceManager ) throws IOException { ClassLoaderService classLoaderService = serviceManager . requestService ( ClassLoaderService . class ) ; try { return parseFile ( classLoaderService , filename , transportOverrideResource ) ; } finally { serviceManager . releaseService ( ClassLoaderService . class ) ; } }
Resolves an Infinispan configuration file but using the Hibernate Search classloader . The returned Infinispan configuration template also overrides Infinispan s runtime classloader to the one of Hibernate Search .