code: 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);
        }
     }
docs: 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.
  
  @param filename                  Infinispan configuration resource name
  @param transportOverrideResource An alternative JGroups configuration file to be injected
  @param serviceManager            the ServiceManager to load resources
  @return
  @throws IOException