public class DelegatingClassLoaderService extends Object implements org.hibernate.search.engine.service.classloading.spi.ClassLoaderService
ClassLoaderService
. If class,
resource or service loading fails in ORM class loader, the current class loader is checked.Constructor and Description |
---|
DelegatingClassLoaderService(ClassLoaderService hibernateClassLoaderService) |
Modifier and Type | Method and Description |
---|---|
<T> Class<T> |
classForName(String className) |
<T> Iterable<T> |
loadJavaServices(Class<T> serviceContract) |
URL |
locateResource(String name) |
InputStream |
locateResourceStream(String name) |
public DelegatingClassLoaderService(ClassLoaderService hibernateClassLoaderService)
public <T> Class<T> classForName(String className)
classForName
in interface org.hibernate.search.engine.service.classloading.spi.ClassLoaderService
public URL locateResource(String name)
locateResource
in interface org.hibernate.search.engine.service.classloading.spi.ClassLoaderService
public InputStream locateResourceStream(String name)
locateResourceStream
in interface org.hibernate.search.engine.service.classloading.spi.ClassLoaderService
Copyright © 2019 JBoss by Red Hat. All rights reserved.