@OpenApiAll
public final class ExpressionEvaluationConfigurator
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
ParameterizedExpressionFactory |
getFactory(java.lang.String language)
Get expression factory according language.
|
static ExpressionEvaluationConfigurator |
getInstance()
Singleton instance getter.
|
void |
registerClassLoader(java.lang.ClassLoader classLoader)
Register additional class loader, to load classes, implementing custom expressions.
|
void |
registerFactory(java.lang.String language,
ParameterizedExpressionFactory factory)
Register expression factory according expression language.
|
public static ExpressionEvaluationConfigurator getInstance()
public void registerFactory(java.lang.String language, ParameterizedExpressionFactory factory)
language
- expression language.factory
- expression factory to register.@CheckForNull public ParameterizedExpressionFactory getFactory(java.lang.String language)
language
- expression language.public void registerClassLoader(java.lang.ClassLoader classLoader)
classLoader
- classloader to register.