public class JavaCFuncLoader extends CFuncLoader
ClassLoader.loadClass(String, boolean)
call.Constructor and Description |
---|
JavaCFuncLoader() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getLang()
Supported language.
|
<F> F |
load(java.lang.String jfuncName,
java.lang.Class<? extends F> targetKlazz,
java.lang.ClassLoader classLoader)
Instantiate demanded function.
|
load
public java.lang.String getLang()
CFuncLoader
getLang
in class CFuncLoader
public <F> F load(java.lang.String jfuncName, java.lang.Class<? extends F> targetKlazz, java.lang.ClassLoader classLoader)
CFuncLoader
load
in class CFuncLoader
F
- type of functionjfuncName
- function name - this is target language specific!targetKlazz
- requested function Java interfaceclassLoader
- classloader to use for function search