public final class SREClassLoader extends Object
Modifier and Type | Method and Description |
---|---|
static Class<?> |
loadClass(classname : String,
initialize : boolean,
context : ClassLoader)
Load a class with the preferred class loaders.
|
static Class<?> |
loadClass(classname : String,
context : ClassLoader)
Load a class with the preferred class loaders.
|
@Pure
public static def
loadClass(classname : String,
context : ClassLoader) : Class<?>
throws ClassNotFoundException
SREClassLoader
classname
- the name of the class to load.context
- the class loader to use first. If could be null
. In this case
the system class loaders are used.ClassNotFoundException
- if the class cannot be found.@Pure
public static def
loadClass(classname : String,
initialize : boolean,
context : ClassLoader) : Class<?>
throws ClassNotFoundException
SREClassLoader
classname
- the name of the class to load.initialize
- indicates if the class must be initialize.context
- the class loader to use first. If could be null
. In this case
the system class loaders are used.ClassNotFoundException
- if the class cannot be found.Copyright © 2021 the original authors or authors.