public class BuiltinFunctionLoader extends Object
BuiltinFunctionLoader.getInstance() to obtain the instance.| Modifier and Type | Method and Description |
|---|---|
static BuiltinFunctionLoader |
getInstance() |
Map<String,Function> |
listFunctions(ClassLoader classLoader,
Version version,
Scope closureScope)
Load function definitions from the default resource
from an arbitrary
ClassLoader. |
Map<String,Function> |
listFunctions(Version version,
Scope closureScope) |
void |
loadFunctions(ClassLoader classLoader,
Version version,
Scope closureScope) |
void |
loadFunctions(Version version,
Scope closureScope) |
public static BuiltinFunctionLoader getInstance()
public Map<String,Function> listFunctions(ClassLoader classLoader, Version version, Scope closureScope)
ClassLoader.
E.g. in an OSGi context this may be the Bundle's ClassLoader.public void loadFunctions(ClassLoader classLoader, Version version, Scope closureScope)
Copyright © 2019. All rights reserved.