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