Class AggregatedClassLoader
java.lang.Object
java.lang.ClassLoader
org.hibernate.search.engine.environment.classpath.spi.AggregatedClassLoader
A classloader which keeps an ordered list of aggregated classloaders.
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.
- Author:
- Steve Ebersole, Hardy Ferentschik, Sanne Grinovero
-
Method Summary
Modifier and TypeMethodDescriptionstatic AggregatedClassLoader
protected Class
<?> protected URL
findResource
(String name) getResources
(String name) Methods inherited from class java.lang.ClassLoader
clearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findClass, findLibrary, findLoadedClass, findResource, findResources, findSystemClass, getClassLoadingLock, getDefinedPackage, getDefinedPackages, getName, getPackage, getPackages, getParent, getPlatformClassLoader, getResource, getResourceAsStream, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, getUnnamedModule, isRegisteredAsParallelCapable, loadClass, loadClass, registerAsParallelCapable, resolveClass, resources, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSigners
-
Method Details
-
createDefault
-
getResources
- Overrides:
getResources
in classClassLoader
- Throws:
IOException
-
findResource
- Overrides:
findResource
in classClassLoader
-
findClass
- Overrides:
findClass
in classClassLoader
- Throws:
ClassNotFoundException
-