public final class AggregatedClassLoader extends ClassLoader
This is especially useful in modular environments such as WildFly where some classes may not be accessible from Hibernate Search's classloader, for example custom user components such as bridges.
| Modifier and Type | Method and Description |
|---|---|
static AggregatedClassLoader |
createDefault() |
protected Class<?> |
findClass(String name) |
protected URL |
findResource(String name) |
Enumeration<URL> |
getResources(String name) |
clearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findLibrary, findLoadedClass, findResources, findSystemClass, getClassLoadingLock, getPackage, getPackages, getParent, getResource, getResourceAsStream, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, loadClass, loadClass, registerAsParallelCapable, resolveClass, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSignerspublic static AggregatedClassLoader createDefault()
public Enumeration<URL> getResources(String name) throws IOException
getResources in class ClassLoaderIOExceptionprotected URL findResource(String name)
findResource in class ClassLoaderprotected Class<?> findClass(String name) throws ClassNotFoundException
findClass in class ClassLoaderClassNotFoundExceptionCopyright © 2006-2020 Red Hat, Inc. and others. Licensed under the GNU Lesser General Public License (LGPL), version 2.1 or later.