public class FunctionLoader extends Object
| Constructor and Description |
|---|
FunctionLoader() |
| Modifier and Type | Method and Description |
|---|---|
MethodWrapper |
loadClass(String className,
String fnName)
create a function runtime context for a given class and method name
|
static void |
setContextClassLoader(ClassLoader loader)
Override the classloader used for fn class resolution
Primarily for testing, otherwise the system/default classloader is used.
|
public MethodWrapper loadClass(String className, String fnName)
className - the class name to loadfnName - the function in the classpublic static void setContextClassLoader(ClassLoader loader)
loader - the context class loader to use for this functionCopyright © 2023. All rights reserved.