public class CommandContextFunctionMapper extends FunctionMapper
Modifier and Type | Field and Description |
---|---|
static Map<String,Method> |
COMMAND_CONTEXT_FUNCTION_MAP |
Constructor and Description |
---|
CommandContextFunctionMapper() |
Modifier and Type | Method and Description |
---|---|
protected void |
createMethodBindings() |
static String |
currentUser() |
static List<String> |
currentUserGroups() |
protected void |
ensureContextFunctionMapInitialized() |
Method |
resolveFunction(String prefix,
String localName)
Resolves the specified prefix and local name into a java.lang.Method.
|
public Method resolveFunction(String prefix, String localName)
FunctionMapper
resolveFunction
in class FunctionMapper
prefix
- the prefix of the function, or "" if no prefix. For example, "fn" in
${fn:method()}, or "" in ${method()}.localName
- the short name of the function. For example, "method" in ${fn:method()}.protected void ensureContextFunctionMapInitialized()
protected void createMethodBindings()
public static String currentUser()
Copyright © 2020. All rights reserved.